Reply to Re: Resize an image on width, then check its hight and resize again

Re: Resize an image on width, then check its hight and resize again new!
by colin, 15 years, 9 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

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