[support] Rotating Selected Images

steeph ml at mixblog23.de
Mon Feb 13 22:18:13 UTC 2012


The Imagecache Autorotate module can rotate iages  based on their EXIF 
orientation. I think it is part of Imagecache Actions ( 
http://drupal.org/project/imagecache_actions). When your image viewer 
shows them correctly, it's most likely using the same data to decide if 
the image needs to be rotated to display it.


On 13.02.2012 22:59, Steve Edwards wrote:
> I have a content type that contains an imagefield used for displaying photos, and I'm having a problem getting them to display with the proper orientation.  Some of the photos were taking with the normal camera orientation (landscape), but some were taken vertically (i.e. the camera turned 90 degrees clockwise).  When I display the vertical images in a photo app (like Preview or iPhoto on my Mac) they display just fine, but when they are displayed in Drupal, they are all displayed horizontally, which means the vertical ones are on their side.  There is an image style that will rotate them, but not all of the photos require this, so the all-or-nothing approach doesn't work.  Other than writing code to rotate the vertical images counter-clockwise (not sure how that would be detected), how can I get them to display as they were originally taken?  Why are they displayed that way in the first place, when all the other apps display them properly?
>
> Thanks.
>
> Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120213/3665ff2c/attachment.html 


More information about the support mailing list