cofoundry
cofoundry copied to clipboard
Why is my thumbnail image rotated?
When I upload an image in tall format, the generated thumbnail is rotated to wide format - but the original image is not. That makes it rather confusing to work with the thumbnails.
Is the image rotated (incorrect orientation) or is the crop incorrect? If it is the crop, is it in the details view or the table view?
This is the original image: http://bogevanghytten.dk/assets/images/12-3560394234989-dE1r08/soverum.jpg
This is the thumbnail displayed in "http://bogevanghytten.dk/admin/images#/12" : http://bogevanghytten.dk/assets/images/12-3560394234989-dE1r08/soverum.jpg?anchor=MiddleCenter&mode=Crop&width=220
As you can see, the thumbnail is rotated.
Ok, it looks like the orientation metadata isn't handled correctly.
I expect you are using the SkiaSharp plugin? There's no orientation detection in that as I don't think SkiaSharp handles it, and it also strips the metadata. You'll probably have better luck with the ImageSharp plugin, which is much more fully featured, and you can also configure it to keep the metadata in the image.
Okay, I'll try the ImageSharp plugin.
@JornWildt Hello