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.
Basically I am using image_src_x to verify that an image is set to 100px wide if it is larger than that.
I also want to set it to check to see if the image (once resized) is larger than 200px tall and take the current image and use 200px as a height to resize the image to (while keeping ratio).
Id this possibe to do before process() or do I have to go through, upload the image, then check it locally?Reply
I also want to set it to check to see if the image (once resized) is larger than 200px tall and take the current image and use 200px as a height to resize the image to (while keeping ratio).
Id this possibe to do before process() or do I have to go through, upload the image, then check it locally?