Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant