NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      This may or may not be a duplicate of CONF-17621, about EXIF rotation, marked as "won't fix". I understand from that issue that there is some debate about whether this is Confluence's issue or a browser issue. Let me explain my experience.

      1. I take a picture with my iPhone, it displays it the correct way up
      2. I email it to myself, Gmail displays it the correct way up
      3. I accidentally import it into my Google Drive, it displays it the correct way up
      4. I download it to my Mac, it display it the correct way up
      5. I import it into Confluence, it displays it the wrong way round
      6. I start writing this ticket, and have an idea or two...
      7. I access it in Chrome using a file:// URI, it displays it the right way up
      8. I boot a Windows 7 VM and ping it over there, it displays it the right way up (perhaps a file:// URI in IE6 would be the nail in the coffin?)
      Atlassian Status as of February 14, 2017

      Hi All,

      Thank you for your feedback on this issue thus far. This is certainly an issue which has done its round on the internet over the years for many browser and application vendors alike, with each pointing the finger at each other as to whether the application or browser should observe the EXIF rotation metadata.

      The obvious solution is for all browsers to support the 'image-orientation' CSS, however after many years this is still only supported by Firefox.
      We have explored no less than 6 different solutions to this issue as each brings pros and cons in terms of performance, behaviour and complexity.
      As a result of this exercise, it has been decided that image rotation would be done server side based on the EXIF rotation metadata.

      The actual implementation is somewhat different for Server and Cloud deployments, and thus the rollout/delivery may occur at different times, however is high up in the queue right now.

      Confluence Product Management

            [CONFSERVER-32762] Image rotation of imported photographs is wrong

            Hi all,

            I have the problem in 6.8.0 (Server).

            Can anybody confirm that this has been resolved in a later version?

            Benny Varughese added a comment - Hi all, I have the problem in 6.8.0 (Server). Can anybody confirm that this has been resolved in a later version?

            Kathryn Moye added a comment - - edited

            According to FF, image-rotation has been deprecated.  

             Warning: This property is likely to be deprecated in the near future, with its functionality moved into properties on the <img> and/or <picture>elements, with the possible exception of from-image. The flip and {{<angle>}}values were made obsolete as of FF63.

             

            What say you now?

            Kathryn Moye added a comment - - edited According to FF, image-rotation has been deprecated.     Warning:  This property is likely to be deprecated in the near future, with its functionality moved into properties on the  <img>  and/or  <picture> elements, with the possible exception of  from-image . The  flip  and {{<angle>}}values were made obsolete as of FF63.   What say you now?

            Since we updated from CONF 5.10 to 6.9 we have that issue too. Hundreds of pages are impacted were fotos are now shown in wrong rotation. With the old release it was correctly displayed.

            Why is this issue closed as "fixed" for 6.2.2?

            Please reopen and solve that issue. And by the way: I don't see it as a minor issue. It has an impact on the usability and readability. We have a lot of documentation in Confluence and the manufacturing teams have an impact on their work. Nobody has time to manually rotate hundreds of fotos in hundreds of pages.

            Even open source systems like WordPress are able to handle the orientation of those fotos from iPhone and iPad. Why not that professional expensive application  Confluence?

            Stefan Baader added a comment - Since we updated from CONF 5.10 to 6.9 we have that issue too. Hundreds of pages are impacted were fotos are now shown in wrong rotation. With the old release it was correctly displayed. Why is this issue closed as "fixed" for 6.2.2? Please reopen and solve that issue. And by the way: I don't see it as a minor issue. It has an impact on the usability and readability. We have a lot of documentation in Confluence and the manufacturing teams have an impact on their work. Nobody has time to manually rotate hundreds of fotos in hundreds of pages. Even open source systems like WordPress are able to handle the orientation of those fotos from iPhone and iPad. Why not that professional expensive application  Confluence?

            David Tonhofer added a comment - - edited

            Has this ever been solved or rolled out in the Cloud Version?

            I have an image that is correctly rotated in the file manager and in the browser (Firefox), yet gets the wrong rotation in Confluence Cloud "image preview".

            This has been marked "resolved" one year ago. I would exchange the UI "flattening/re-imagining" for this and having nested tables back any time of the day.


            I spoke too soon.

            The image is badly rotated as long as you didn't bonk "save".

            After saving, the image as displayed has the correct rotation. We are halfway there then...

             

            David Tonhofer added a comment - - edited Has this ever been solved or rolled out in the Cloud Version? I have an image that is correctly rotated in the file manager and in the browser (Firefox), yet gets the wrong rotation in Confluence Cloud "image preview". This has been marked "resolved" one year ago. I would exchange the UI "flattening/re-imagining" for this and having nested tables back any time of the day. I spoke too soon. The image is badly rotated as long as you didn't bonk "save". After saving, the image as displayed has the correct rotation. We are halfway there then...  

            Tried the Rotate Images Plugin. The image quality was severely downgraded after rotation.

            Simon Merrick added a comment - Tried the Rotate Images Plugin . The image quality was severely downgraded after rotation.

            Yep, I just upgraded one of our clients from 5.6.4 to 6.8.1 and a number of pictures are now rotated 90 degrees. :/

            They were fine in 5.6.4 before we did an xml export from 5.6 and xml import into 6.8.

            I was kind of discouraged looking at the fix version but I am relieved I'm not the only one with this issue un a more current version of confluence.

            I might try the Rotate Images add on.

            Simon Merrick added a comment - Yep, I just upgraded one of our clients from 5.6.4 to 6.8.1 and a number of pictures are now rotated 90 degrees. :/ They were fine in 5.6.4 before we did an xml export from 5.6 and xml import into 6.8. I was kind of discouraged looking at the fix version but I am relieved I'm not the only one with this issue un a more current version of confluence. I might try the Rotate Images add on.

            Hi,

            Has there been any fix to this problem at all. According to the issue information, this is fixed with version 6.2.2

            We upgraded to 6.8.0 and still have it. Was the bug introducded back again as a new feature?

            Benny Varughese added a comment - Hi, Has there been any fix to this problem at all. According to the issue information, this is fixed with version 6.2.2 We upgraded to 6.8.0 and still have it. Was the bug introducded back again as a new feature?

            Workaround

            For those who can't upgrade Confluence right way and need their images to be rotated can temporarily download Rotate Images add-on .

            Those running still on Confluence 5.x can download an older version of the add-on and upload .jar file manually into Confluence.

             

            Radek Janata added a comment - Workaround For those who can't upgrade Confluence right way and need their images to be rotated can temporarily download Rotate Images add-on . Those running still on Confluence 5.x can download an older version of the add-on and upload .jar file manually into Confluence.  

            A fix for this issue is now available for Confluence Server customers.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Feng Xu (Inactive) added a comment - A fix for this issue is now available for Confluence Server customers. Upgrade now or check out the Release Notes to see what other issues are resolved.

            I have the same issue. When I upload vertical pictures to confluence they are still showing in horizontal orientation. If I download them they again show correct vertical orientation.  When uploading an original photo to Confluence the photo is not upright. Then uploading the photo once more, the photo orientation was upright, but photo was smaller.

            Subhajit Banerjee added a comment - I have the same issue. When I upload vertical pictures to confluence they are still showing in horizontal orientation. If I download them they again show correct vertical orientation.  When uploading an original photo to Confluence the photo is not upright. Then uploading the photo once more, the photo orientation was upright, but photo was smaller.

              fxu Feng Xu (Inactive)
              f78fc22eba5e Sean Doig
              Affected customers:
              118 This affects my team
              Watchers:
              92 Start watching this issue

                Created:
                Updated:
                Resolved: