class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
image_x = 400;
image_ratio_y = true;
image_ratio_no_zoom_in = true;
Thanks for your wonderful class.
I'm confused about the usage of image_ratio_no_zoom_in.
I am resizing my uploads to a certain size, 400 px wide.
And to keep the aspect ratio correct:
This works perfectly.
Now, if the uploaded image is LESS than the image_x width, I don't want to resize it because that will result in loss of quality.
So I'm using:
First of all, is this the correct setting to use to prevent upsizing a smaller image?
I'm using it but it doesn't change a thing. The smaller images are still being upsized to the image_x size.
Thanks in advance.