Reply to Re: Crop from existing file to new X & Y

Re: Crop from existing file to new X & Y new!
by colin, 12 years, 8 months ago
Most simply:
$foo->image_resize = true;
$foo->image_x = $image_width;
$foo->image_y = $image_height;

If you want to keep aspect ratio, and remove extra parts of the image that don't fit, you can add:
$foo->image_ratio_crop = true;
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