sachinchoolur / lightgallery.js

Full featured JavaScript image & video gallery. No dependencies
https://sachinchoolur.github.io/lightgallery.js/
Other
5.3k stars 596 forks source link

Photo orientation is ignored and displayed "incorrectly" #86

Closed kyle-mccarthy closed 3 years ago

kyle-mccarthy commented 6 years ago

The lightgallery ignores the orientation of the photo in the EXIF data which causes some photos to be displayed with the wrong rotation.

stuartpb commented 3 years ago

Per the Stack Overflow link, this can be fixed in all modern browsers with a single <style>img {image-orientation: from-image;}</style> rule.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. If the issue is still valid for version 2.x, please re-open. Apologize for not responding on time. Thank you for your contributions.