Reply to Resize - max only

Resize - max only new!
by Tim, 17 years, 7 months ago
I want to resize an image so that its max width/height is 500px, but the user's image is already smaller than that.

If I do this, it will stretch the smaller image out to have a width or height of 500:

$handle->image_resize = true;
$handle->image_ratio	= true;
$handle->image_x = 500;
$handle->image_y = 500;

I don't want any image to get stretched. If it's smaller than image_x or _y, I want it to stay smaller.Reply

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