Hi!
Customer is having a problem when uploading images to the media library, they are using a new camera and for some reason a 1984x1984 picture turns into a cropped 5616 x 3744 px when uploaded.
It doesn’t happen with the images from the old camera and the only thing i can see that is different between the old and new ones are that the old ones are at 72 dpi and new ones at 300 dpi.
Anyone know why this is happening? Customer is not able to choose another dpi-setting so I can’t try a lower setting.
If you check the image properties and the Details tab, does the values for width and height look correct?
Is it possible to get a sample image to troubleshoot?
Hi again,
Ye that seems correct, i downloaded the image from here and it uploaded with correct size as you said.
I have uploaded the file on wetransfer and tested it after download, this one should give you the resize-problem.
When an image is uploaded into Litium it passes through a service that extracts metadata about the image and uses it to set sizes and other properties of the image.
In your version of Litium, the metadata tags to fetch this information is in this order (using height as an example): Exif Image Height, Image Height and lastly Height. As soon as a value is found it is used, which explains why you’re getting the wrong result.
This order was changed in 6.2.2 as part of this bug, so that Image Height is used before Exif Image Height.
So the customer can either upgrade their solution (always recommended) or investigate what options are available in the photo editing software to remedy this after cropping the image. Scrubbing the Exif data would also work, but introduces an extra step.