Reply to Re: How to crop automatically keeping ration and fit in specific x and y

Re: How to crop automatically keeping ration and fit in specific x and y new!
by colin, 18 years, 1 month ago
Yes, sure.

$foo->image_x = 100;
$foo->image_y = 150;
$foo->image_ratio_crop = true;
$foo->image_convert = 'jpg';
$foo->resize = true;

The image will be resized so that it fills 100x150, and the excedent will be cropped. So all your thumbnails have the same dimensions, even if the full size images have different ratios.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