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

take a picture in mobile IOS #197

Open
Deboracgs opened this issue Mar 13, 2019 · 2 comments
Open

take a picture in mobile IOS #197

Deboracgs opened this issue Mar 13, 2019 · 2 comments

Comments

@Deboracgs
Copy link

When take a picture in mobile IOS, the picture rotate to 90º automatically

how to fix this to blocked rotate ?

@Deboracgs
Copy link
Author

Deboracgs commented Mar 19, 2019

i using the react-dropzone-component, but when take the picture in iphone the orientation is changed, because the exif image, i not have any idea for change and rotate image in component, i tryed in complete and addedFile functions to change the thumbnail and image, but i not have success. anybody can help me ?

https://codepen.io/deboracgs/pen/GeXrpY

@felixrieseberg @fritz-c @hansoksendahl @bdefore @ko @ciceropablo @erikschlegel @neonaut @bdefore

@hermanho
Copy link

hermanho commented Apr 5, 2019

Example:
https://codesandbox.io/s/k917974wyo

Dropzone.js is supported to rotate the photo based on exif data. It is just required to export the exif-js to window object (line 9 in InputDropzoneComponent.jsx).

Code inside Dropzone.js
https://gitlab.com/meno/dropzone/blob/eba303e91c930292198b2fc57040145682162a1b/src/dropzone.js#L1684

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

No branches or pull requests

2 participants