Image preview should honor exif orientation
Mattermost fetches images from a URL to that image, however it ignores the exif data. This results in the preview often being in the wrong orientation.
36
votes
![](https://secure.gravatar.com/avatar/75fc030e30405ac71223fa6590a2b028?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Austin commented
I would also recommend this library: https://github.com/rwcarlsen/goexif