How do I crop an image.

See all posts See thread Reply

Re: How do I crop an image. new!
by colin, 11 years, 4 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