Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45910

Exif data orientation of uploaded images seem to be ignored

    XMLWordPrintable

    Details

      Description

      I have uploaded student photos individually and using the bulk upload method and they always come up with the head of the photo 90 degrees to the left. these are .jpgs in version 2.3

      [UPDATE] More test instructions:
      a) In Windows 10, double click on an image. It should open the preview software. Select rotate. Windows 10 will automatically modify and save the "Orientation" exif data (Orientation: rotate 90). The image will be displayed rotated in Windows 10 now.
      b) Try to upload the image in a Moodle file resource. Once uploaded from the file picker, the image is displayed with the original orientation in the file manager (incorrect behavior). If you uploaded the same image in Facebook or Google Photo it would be displayed with the modified orientation (the expected behavior).

        Attachments

        1. Example Correct rotation.jpeg
          Example Correct rotation.jpeg
          100 kB
        2. Example incorrect rotation.jpeg
          Example incorrect rotation.jpeg
          100 kB
        3. F iphone image-not working.jpeg
          F iphone image-not working.jpeg
          4.67 MB
        4. rotate_image.png
          rotate_image.png
          156 kB
        5. unit-test.png
          unit-test.png
          161 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              turboturbo Rick Reynolds
              Peer reviewer:
              Martin Gauk Martin Gauk
              Integrator:
              Adrian Greeve Adrian Greeve
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              36 Vote for this issue
              Watchers:
              30 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 10 minutes
                  7h 10m