Reply to What happens with portrait images?

What happens with portrait images? new!
by Edwin Boersma, 16 years, 6 months ago
Hi,

Before I build the class into my website, I would like to know what happens when resizing a portrait image. Reading the documentation, it seems that any image will be resized to the value of image_x. This would mean that it gets the same width as a resized landscape picture, resulting in different formats. E.g. if image_x is 400, a landscape image of 1024x768 would be resized to 400x300, but a portait image of 768x1024 would become 400x533, where it should actually be 300x400.

Am I right here? Or are the width and height automatically swapped to give the desired result?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