It would be very useful to have an offset in scale and crop actions.

I'm developing a website where I have to crop photos of people, and i'd be great to crop the center-top region (where the face usually is). As a workaround I can:

  • imagecache_deprecated_scale with outside dimensions and
  • Crop with desired offset


benschaaf’s picture

+1 for this. I need this same feature. I am also dealing with scale and crop "cutting" off peoples' head.

Thanks for posting your work-around- cheers!

izmeez’s picture

subscribing, also have this need and appreciate the tip.

juhaniemi’s picture

+1 for this.

Using a deprecated action is working but feels like a "hack" because someday it will propably be removed and the presets will be broken.

remote’s picture

+1 this would be very useful

szt’s picture

Another workaround (with face detection in the future?)

anrikun’s picture

3oheme’s picture

Thanks szt and anrikun, i'll give a try to both modules.

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.

jcisio’s picture

Version: 6.x-2.0-beta10 » 6.x-2.0-rc1
Status: Closed (fixed) » Active

This feature request is still valid. Offset can be specified in "crop", but not in "scale and crop".