Developer forum

Forum » Feature requests » GetImage.ashx - if too small, then crop to same ratio

GetImage.ashx - if too small, then crop to same ratio

Jacob Storgaard Jensen
Reply

Hi guys,

I often hit this annoying thing. When I set an image to let say: Width=850&Height=500 – Then the image choosen in DW is smaller than these dimensions, the image is not cropped...

What about making an option to crop the image with the same ratio as 850x500 would have been had the image been large enough...Lets say an image of 800x700 should then be 800x471px after cropping + It should still respect the crop offset settings.


Replies

 
Jacob Storgaard Jensen
Reply

Anyone? Now I've hit this problem again!! Shouldn't be the biggest deal to make this...