Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iron-image does not respect EXIF orientations with sizing="contain" #127

Open
1 of 6 tasks
dgp1130 opened this issue Jan 16, 2018 · 0 comments
Open
1 of 6 tasks

iron-image does not respect EXIF orientations with sizing="contain" #127

dgp1130 opened this issue Jan 16, 2018 · 0 comments

Comments

@dgp1130
Copy link

dgp1130 commented Jan 16, 2018

Description

When running on iOS Safari, capturing an image with HTML5 picker always saves the image in landscape orientation, with an EXIF orientation tag labeling it as actually portrait if necessary. Putting this into an with sizing="contain" displays the image sideways because it does not respect the EXIF orientation.

Expected outcome

Image should be the correct orientation.

Actual outcome

Image is sideways.

Live Demo

http://jsbin.com/buvazetepu/edit?html,output

Steps to reproduce

  1. Open page in iOS Safari (tested on iPod Touch 6 running version 11.2.2)
  2. Press "Choose file"
  3. Take a picture and use it
  4. Image captured is displayed sideways

Browsers Affected

  • Chrome
  • Firefox
  • Safari 10
  • Safari 9
  • Edge
  • IE 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant