Reply to Re: Resize by x OR y

Re: Resize by x OR y new!
by colin, 17 years, 7 months ago
It makes sense ;)

Use
$foo->image_ratio = true;
$foo->image_x = 200;
$foo->image_y = 200;

So the image will fit within 200x200, and the ratio will be maintained.

This is in the doc by the way:
image_ratio if true, resize image conserving the original sizes ratio, using image_x AND image_y as max sizes if true (default: false)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