Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Problem with portrait pictures on mobile phones (android and iPhone) #216

Closed
JyTy opened this issue Mar 3, 2015 · 2 comments
Closed

Problem with portrait pictures on mobile phones (android and iPhone) #216

JyTy opened this issue Mar 3, 2015 · 2 comments

Comments

@JyTy
Copy link

JyTy commented Mar 3, 2015

I'm having a huge issue with cropping portrait photos on mobile phones. both pictures have exif orientation equal to 6. But the problem is that if I upload a photo through iPhone it is displayed in portrait mode inside preview in cropper. So I rotate it inside the CropAvatar.php file and the crop is great...
But if I upload a photo through android phone it gets rotated for 90 degrees in preview mode for cropping, so it is displayed in landscape... The crop parameters I get (x, y) are reversed and the crop is not OK.

Anyone had the same problem? Any help would really be appreciated!

@fengyuanchen
Copy link
Owner

We cannot handle the EXIF Orientation right now.

@fengyuanchen
Copy link
Owner

As it is the same as #120, I have to close this.

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

2 participants