You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: