cozy-files icon indicating copy to clipboard operation
cozy-files copied to clipboard

Picture orientation metadata not honored

Open ook opened this issue 8 years ago • 2 comments

When I upload a picture with an a specific orientation metadata, File doesn't honor it and display it the wrong way (in preview AND thumbnails).

If I download from cozy and open from a orientation friendly software, it's opened the correct way. (and if I reupload, Cozy will have it the wrong way again).

Picture, thousand words:

img_20160723_135818_jpg_et_cozy_-_files_et_2__docker-compose

ook avatar Jul 26 '16 06:07 ook

Just seen that only FF can endorse it at this time easily. The other solution would be to search and read the EXIF for each IMG in view and manually do the rotation if CSS directive is unavailable.

https://developer.mozilla.org/en-US/docs/Web/CSS/image-orientation

ook avatar Jul 26 '16 07:07 ook

Will profit of cozy/cozy-data-system#249

ook avatar Jul 26 '16 07:07 ook