Reply to Resize an image on width, then check its hight and resize again

Resize an image on width, then check its hight and resize again
by Mike, 17 years, 3 months ago
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

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