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
See all posts Reply
$handle->image_resize = true; $handle->image_ratio_y = true; $handle->image_x = 1024;
I use this script to upload screenshots.
I want large screenshots to be scalled down to 1024 width and no change to small screenshots.
I use this:
but when i upload an image that width is smaller then 1024, the image ratio is increased.
How can I fix this?
Thank you.
Had this problem for ages, and finaly found the image_ratio_no_zoom_in
Great work. :)