Question
resizing images - portrait and landscape
Hi,
I am uploading and resizing images(see code), I want to resize them to 200px by 150px if landscape and 150px by 200px if portrait. How can I determine the orientation of the image?
I am uploading and resizing images(see code), I want to resize them to 200px by 150px if landscape and 150px by 200px if portrait. How can I determine the orientation of the image?
