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

See all posts See thread Reply

Re: Resize an image on width, then check its hight and resize again new!
by colin, 16 years, 4 months ago
I am not sure I understand it all. But you can set the maximum width and height, and the class will resize it within these constraints. For instance:
$foo->image_ratio = true;
$foo->image_x = 100;
$foo->image_y = 200;

You can also try:
$foo->image_ratio_crop = true;
$foo->image_x = 100;
$foo->image_y = 200;
Reply