Reply to Re: How do I crop an image.

Re: How do I crop an image. new!
by colin, 11 years, 10 months ago
I suppose you want to *keep* an area of 320x200, is that right?

In that case, it depends on the original dimension of your image. You would need something like this:
$handle->image_crop = array(
  $original_height - 200 / 2,
  $original_width - 320 / 2
);
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