Reply to how do i resize based on landscape or portrait?

how do i resize based on landscape or portrait? new!
by sarmen, 13 years, 2 months ago
how can i detect if the image uploaded is landscape or portrait?

what i want to do is if the image has a height larger than the width (meaning portrait)
i want to crop the width at 400px and height on auto.

then if the width is bigger than the height, to do 400 on height and width auto.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