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.
By chunty on
In D6 when cropping an image you used to be able specify something like width=100%, height =150 this would leave the width of an image alone and just crop the height.
Unless I'm missing something you can't do this as every crop action in D7 image styles wants you specify both width and height as pixel values.....am I missing something here - if not then surely this is wrong - its a perfectly valid crop situation?
Chris
Comments
No-one else come across this
No-one else come across this problem?
Bump
Bump
custom option in ImageCache Actions module?
Have you checked out https://drupal.org/project/imagecache_actions?
With the embed "Custom Actions" module you'll be able to use any gd method you want - add a custom filter to an image filter, and find the gd function to use.
But I believe you're correct, none of the image style options in D7 come out of the box with this functionality.