5

apparently Drupal 7's built in image handling doesn't automatically rotate images based. Is there an option to do that? If not, how can I make it easy for a user to rotate an image left or right?

5

ImageCache Actions seems to provide an "autorotate" feature. If server has Exif PHP extension enabled, and user's camera saved orientation in EXIF data, it automatically rotates image correct side up.

  • Added some minor information to answer. – Mołot Oct 8 '13 at 12:16
3

In Drupal 7 the rotation feature is in Configuration > Media > Image Styles. Then in configuration of your image field, you can chose the style related.

to see image rotated, you must asign the style in the Manage Display tab of fields of your Content Type.

I hope information be useful.

  • that would rotate every image? I want the user to be able to decide if they want to rotate the image and if they want to rotate right or left. Thanks. – uwe Oct 21 '11 at 22:36
  • You can use Conditional Fields Module drupal.org/project/conditional_fields to allow to users choice between fields pre-configured (left or right), or use drupal_process_states() that adds JavaScript to change the state of an element based on another element. api.drupal.org/api/drupal/includes--common.inc/function/… – cigotete Oct 21 '11 at 23:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.