darickc / MMM-BackgroundSlideshow

MIT License
143 stars 80 forks source link

EXIF orientation ignored #9

Closed M4Rv closed 5 years ago

M4Rv commented 5 years ago

Thanks for the module. It is working great for me except for one thing:

Photos are not always in correct orientation (upside-down / sideways). It seems the module is not taking the EXIF information of the jpg files into consideration.

darickc commented 5 years ago

Magic Mirror uses the browser and browsers don't support the EXIF information. There is css for this (image-orientation: from-image;) but it is only supported in FireFox and partial support in iOS Safari (https://caniuse.com/#search=image-orientation). My suggestion is to rotate them manually.

M4Rv commented 5 years ago

Did the manual rotation. Thanks for the explanation though!