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 See thread Reply
$handle->image_resize = true; $handle->image_x = 60; $handle->image_y = 60; $handle->image_ratio = true;
I wish that:
if width>height so $handle->image_x = 60;
if width<height so $handle->image_y = 60;
I don't want an image 60x60 but I wish an image that always is resized so that it's longer side is no more than 60px
Thank you