Reply to Re: about image resizing with crop and no enlarging

Re: about image resizing with crop and no enlarging new!
by Edgars, 6 years, 3 months ago
Hi, i dont know if it is inttentional behaviour but it doesnt look like it for me. Problem is when im using $handle->image_resize = true; with $handle->image_ratio_crop = true; and $handle->image_no_enlarging = true;
I set $handle->image_x = 1000; and $handle->image_y = 1000;
So when i process images if both original image sides are greater than they are set for then output image is as expected but if one of the sides is smaller then there is really strange behaviour. i thought that if i set $handle->image_no_enlarging = true; then in those cases image will not be resized, but it resizes and resizes very odd, for example if input image is 1096x480 px then output image is 1x480 px and if input image is 800x533 px then output image is 300x533 pxReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important