When I upload images I have a strange behavior. I'm using umbraco 8.5
The image is a portrait, but stored in landscape with exif info
The image data in exif is 5184x3456 and InfranView reports oriantation to be Left Bottom (i think thats right?)
Exlorer, infranView and Photoshop all display the image the right way
When I upload the image I get the image correct when opening the node. But when I list it, it is displayed rotated. (Rotated meaning landscape)
The image info in umbraco say that it's 5184 wide.
If I open the image by url, it gets correct. But if I open one of the croped version, it is rotated.
Url to the image is something like this (croped to a square)
/media/34zprywo/img_4600.jpg?width=800&height=800&rnd=132306558156570000
I found that if I submit an autorotate=true, it will work. (isn't this what the autorotate settings is for?)
I don't know if it is chrome that makes the image appear correct on the original url, or if it's sent as a portrait. On another computer (don't have any info about browser etc at the moment) the image is not shown in portrait mode in the media library.
ImageProcessor is set to preserveExifMetaData = false and AutoRotate enabled=true
How would I like it to be?
I would like it to read the information about the oriantation on upload. Rotate the image and store height as 5184 in the original image. Strip all exif (preserved is set to false).
Is there any way I can achieve this? All I found on the topic seems to end in the editor needing to re-save the image in portrait mode.
installed the ImageFilter plugin (https://our.umbraco.com/packages/backoffice-extensions/image-filter/) and enabled the user to rotate the image in backoffice. (They saw the error themselfs on thumbnail previews)
If the later then you will have to resave all images in backend. Not so fun if it is a lot of images :(
Image autorotate
When I upload images I have a strange behavior. I'm using umbraco 8.5
The image is a portrait, but stored in landscape with exif info
The image data in exif is 5184x3456 and InfranView reports oriantation to be Left Bottom (i think thats right?) Exlorer, infranView and Photoshop all display the image the right way
When I upload the image I get the image correct when opening the node. But when I list it, it is displayed rotated. (Rotated meaning landscape)
The image info in umbraco say that it's 5184 wide.
If I open the image by url, it gets correct. But if I open one of the croped version, it is rotated.
Url to the image is something like this (croped to a square) /media/34zprywo/img_4600.jpg?width=800&height=800&rnd=132306558156570000
I found that if I submit an autorotate=true, it will work. (isn't this what the autorotate settings is for?)
/media/34zprywo/img_4600.jpg?autorotate=true&width=800&height=800&rnd=132306558156570000
I don't know if it is chrome that makes the image appear correct on the original url, or if it's sent as a portrait. On another computer (don't have any info about browser etc at the moment) the image is not shown in portrait mode in the media library.
ImageProcessor is set to preserveExifMetaData = false and AutoRotate enabled=true
How would I like it to be? I would like it to read the information about the oriantation on upload. Rotate the image and store height as 5184 in the original image. Strip all exif (preserved is set to false).
Is there any way I can achieve this? All I found on the topic seems to end in the editor needing to re-save the image in portrait mode.
Hello Jan,
Did you manage to work out what was causing this? I feel like I am experiencing something similar.
https://our.umbraco.com/forum/using-umbraco-and-getting-started//103249-image-processor-rotating-images-and-leaving-black-bars
Thanks Paul
Hi
I'm trying to remember. I'm wondering if I maybe one of these did it
Changed the setting under config/imageprocessor/processing.config to add rotate = true
AND/OR
installed the ImageFilter plugin (https://our.umbraco.com/packages/backoffice-extensions/image-filter/) and enabled the user to rotate the image in backoffice. (They saw the error themselfs on thumbnail previews)
If the later then you will have to resave all images in backend. Not so fun if it is a lot of images :(
is working on a reply...