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

chunty’s picture

No-one else come across this problem?

chunty’s picture

Bump

kbrinner’s picture

Have you checked out https://drupal.org/project/imagecache_actions?

Custom Actions - Execute your own PHP/GD code in the middle of an imagecache generation process. Requires some familiarity with imageAPI internals.

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.