-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Image rotated using portrait mode and landscape mode in Android. #1960
Comments
U can use "react native resize image" to rotate it be 0 before uploading to serve |
@Thuan60th4 - Thanks for your reply. We have 5 to 7 class components so we need to add this react native resize image in all 7 class components. Any idea without using react native resize image npm? |
Any update. We are facing this issue in production. |
@ivpusic - Thanks for your library.I have been using this library for the last 3 years. |
@ivpusic - Please look at the issue. Our customers are facing this issue in production. |
Any Example code? |
@Thuan60th4 - Thanks for your suggestion. I rotated the image rotation 0 using npm:react-native-image-resizer before uploading it to the server. |
Still not resolved... |
Any update on this? |
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
Expected behavior
When the user takes a picture in portrait or landscape mode or picks the image from the gallery, that base64 uri picture should not be rotated.
Actual behavior
When the user takes a picture in portrait or landscape mode or picks the image from the gallery, that base64 uri picture is rotated
Steps to reproduce
ImagePicker.openPicker({
width: 300,
height: 400,
cropping: false,
multiple: false,
mediaType: 'photo'
}).then(image => {
})
.catch(error => { })
Attachments
// stacktrace or any other useful debug info
Love react-native-image-crop-picker? Please consider supporting our collective:
👉 https://opencollective.com/react-native-image-crop-picker/donate
The text was updated successfully, but these errors were encountered: