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

Fix orientation while using PHP GD in EXIF remover

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5 regressions
    • Files API
    • 2
    • Team Dragons 2025 Sprint 1.2, Team Dragons 2025 Sprint 1.3

      Steps to replicate

      1. Login as admin
      2. Navigate to Site Admin > Server > File Redaction > EXIF remover.
      3. Enable the EXIF remover.
      4. Ensure to empty the Path to ExifTool.
      5. Navigate to the Edit Profile page
      6. In the desccription editor, upload the below image

      EXPECTED

      The image is displayed with the correct orientation

      ACTUAL

      The image is displayed with the incorrect orientation

        1. corret_orientation.png
          corret_orientation.png
          2 kB
        2. f1.jpg
          f1.jpg
          0.8 kB
        3. f2.jpg
          f2.jpg
          0.4 kB
        4. f3.jpg
          f3.jpg
          0.4 kB
        5. f4.jpg
          f4.jpg
          0.4 kB
        6. f5.jpg
          f5.jpg
          0.4 kB
        7. f6.jpg
          f6.jpg
          0.4 kB
        8. f7.jpg
          f7.jpg
          0.4 kB
        9. f8.jpg
          f8.jpg
          0.4 kB
        10. F iphone image-not working.jpeg
          F iphone image-not working.jpeg
          4.67 MB
        11. incorrect_orientation.png
          incorrect_orientation.png
          2 kB

            meirza.arson@moodle.com Meirza
            meirza.arson@moodle.com Meirza
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.