-
Notifications
You must be signed in to change notification settings - Fork 13
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
Some images are fetched in wrong orientation #7
Comments
Hi, any updates on this issue? Some of my images are fetched in wrong direction too. |
@victoria168 : Unfortunately I've lost all my images with wrong orientation :(. I would be very grateful for steps how to make such photos. |
@domax Do you mean how to repeat the step of displaying wrong direction? My step is: call photo() to get all meta data of photos -> call thumbnail() and display in small grid (orientation ok) -> call image() to get raw photo and display it (pictures taken by camera are displayed in wrong orientation). I'm using iPhong6 IOS 10.3.3 for testing. |
@victoria168 No )) - I know how to get existing images from device (since it's me who wrote this plugin). |
Hi, do you encounter this issue in Android? I find in Android album a property called 'Orientation'. Without it all images get from Photos.photos() are in wrong orientation. Is it possible to add this property to your plugin? Thanks. |
@victoria168 : sure it's possible. Though, I never observed the wrong orientations on my Android devices yet. |
@domax thanks so much. Have you added orientation params yet? Please let me know so that I can test in my Android v6 device. |
@domax on Android image orientation is yet not included and some photos therefore have wrong orientation. Isn't it possible to add orientation parameter? Thanks. |
Hi, this issue still persists on Android. Here is my conclusion why this problem appears and my solution. Some Camera apps store captured images with the original orientation (as they were taken). Plugin is fine with it. Camera apps on some Android devices store images always in landscape (orientation 0), but with appropriate orientation info stored as additional exif metadata. Plugin currently is not taking that information in consideration and always returns landscape images as both thumbnails and images. Firstly, I decided to find another plugin that handles this problem, but encountered a lot of different problems with them so after few days I found that the best solution is to use this plugin with few changes I made within in:
|
@loshonja - please send pull request with your fix, if you don't mind. Thank you in advance |
iOS version should take into account imageOrientation property for correct image orientation.
The text was updated successfully, but these errors were encountered: