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

autoRotate prop to consider EXIF metadata of a photo taken from ios camera #4

Closed
wants to merge 2 commits into from

Conversation

TheXardas
Copy link

Based on an issue #3
This module is used to rotate an image based on exif: https://github.com/blueimp/JavaScript-Load-Image
The side effect of this: src is been translated to base64 data-url instead of url. But can't figure our a better way.

Tested it locally on photos of a keyboard, but failed to add a rotated image of a cat, because i don't have a cat. :(

@treyhuffine
Copy link
Owner

Thanks for the PR @TheXardas! It looks like you forked the library, so in favor of not adding a new dependency at the present moment, I'm going to leave this change out of lightbox-react.

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

Successfully merging this pull request may close these issues.

2 participants