Uploaded image for project: 'Social Justice Repair Kit'
  1. Social Justice Repair Kit
  2. SJRK-286

Some images being uploaded with incorrect orientation

    Details

    • Type: Bug
    • Status: Pull Request
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Storytelling Tool UI
    • Labels:
      None
    • Environment:
      MacOS (version?)
      both in Safari and Chrome

      Description

      Some images are being uploaded with incorrect orientation, even though such metadata likely exists in the image file.

      To reproduce:

      • find a JPEG image with EXIF data containing an orientation value other than 1
      • if you're running from the pull request branch (https://github.com/fluid-project/sjrk-story-telling/pull/50), you can refer to the test images in the "tests\testData" directory
      • add a new image block and upload that image

      Expected: the image will be the correct orientation that matches what is seen in the Finder upload dialog or on the mobile device (see attached screenshot "working")

      Actual: the image is rotated 90 or 180 degrees and looks incorrect (see attached screenshot "not working")

      The image will have the incorrect orientation both in the story editor preview as well as in the published story

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gmoss Gregor Moss
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: