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

iOS - Taking a picture to upload is always coming out landscape #927

Closed
Quirksmode opened this issue Aug 10, 2015 · 7 comments
Closed

iOS - Taking a picture to upload is always coming out landscape #927

Quirksmode opened this issue Aug 10, 2015 · 7 comments

Comments

@Quirksmode
Copy link

When using any iOS device, when I use the ngf-capture="'camera'" attribute and take a picture, it doesn't matter what orientation the device is, the picture always comes out landscape, this results in sideways pictures when the orientation is portrait.

My code is:

<input type="file" id="formBodyContent_image" accept=".jpg, .png" ngf-select ngf-change="BlockImageCtrl.upload($files)" ngf-multiple="false" ngf-capture="'camera'">
@danialfarid
Copy link
Owner

Add exif support

@danialfarid
Copy link
Owner

#745

@jdegger
Copy link

jdegger commented Oct 20, 2015

@danialfarid Any clue when this is going to be fixed? We might write our own hotfix for the time being.

@danialfarid
Copy link
Owner

I'll make it higher priority. Hopefully I will get into it by the next week or so, if you like to contribute and submit a PR that would be great. https://github.com/blueimp/JavaScript-Load-Image/blob/master/js/load-image-orientation.js

@jdegger
Copy link

jdegger commented Oct 21, 2015

Unfortunately I don't have time to make a PR but I am very thankful you're willing to make it a higher priority :)!

Cheers

danialfarid pushed a commit that referenced this issue Oct 22, 2015
@danialfarid
Copy link
Owner

I believe version 9.1.0 should fix this issue. Could you guys investigate if it is fixed?

@jdegger
Copy link

jdegger commented Oct 22, 2015

Confirmed! Thanks a lot @danialfarid!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants