Reply to Re: problem with cropping

Re: problem with cropping new!
by colin, 14 years, 4 months ago
As per the docs:
image_crop crops image. accepts 4, 2 or 1 values as 'T R B L' or 'TB LR' or 'TBLR'. dimension can be 20, or 20px or 20% (default: null)

So the array reads:
$handle->image_crop = array(top, right, bottom, left);
Or, as a string:
$handle->image_crop = 'top, right, bottom, left';
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