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?
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2888910 ] New: CONFSERVER Bug Workflow v4 [ 2999918 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2801478 ] New: JAC Bug Workflow v3 [ 2888910 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            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?
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2727333 ] New: JAC Bug Workflow v2 [ 2801478 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]

            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...  
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2386092 ] New: JAC Bug Workflow [ 2727333 ]

            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.

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

                Created:
                Updated:
                Resolved: