<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The Imagecache Autorotate module can rotate iages&nbsp; based on their
    EXIF orientation. I think it is part of Imagecache Actions (
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="http://drupal.org/project/imagecache_actions">http://drupal.org/project/imagecache_actions</a>).
    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.<br>
    <br>
    <br>
    On 13.02.2012 22:59, Steve Edwards wrote:
    <blockquote
      cite="mid:D4F49D88-A530-4A93-9734-CC2B07C6E8B4@gmail.com"
      type="cite">
      <pre wrap="">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
</pre>
    </blockquote>
    <br>
  </body>
</html>