Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comments
Comment #1
benschaaf CreditAttribution: benschaaf commented+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!
Comment #2
izmeez CreditAttribution: izmeez commentedsubscribing, also have this need and appreciate the tip.
Comment #3
juhaniemi CreditAttribution: juhaniemi commented+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.
Comment #4
remote CreditAttribution: remote commented+1 this would be very useful
Comment #5
szt CreditAttribution: szt commentedAnother workaround (with face detection in the future?)
http://drupal.org/project/smartcrop
Comment #6
anrikun CreditAttribution: anrikun commentedTry ImageField Focus:
http://drupal.org/project/imagefield_focus
Comment #7
3oheme CreditAttribution: 3oheme commentedThanks szt and anrikun, i'll give a try to both modules.
Comment #8
fizk CreditAttribution: fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.
Comment #9
jcisio CreditAttribution: jcisio commentedThis feature request is still valid. Offset can be specified in "crop", but not in "scale and crop".