You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of our user supplied images are throwing an error in Sentry.io, stating that the image does not have any dimensions (Asset xxxxx is missing its width or height). The image attached in an example. The erroring images tend to be large, this one being 20mb, 300dpi, 8256x5504. JPEG.
If you try to edit the image in the editor (crop, flip etc) it fails when saving.
In the second case, there should be an additional warning in the logs. If you check the logs you should be able to get a hint as to why that error is being thrown.
You could also check the database to see if the width and height values are there for this particular asset.
What happened?
Description
Some of our user supplied images are throwing an error in Sentry.io, stating that the image does not have any dimensions (Asset xxxxx is missing its width or height). The image attached in an example. The erroring images tend to be large, this one being 20mb, 300dpi, 8256x5504. JPEG.
If you try to edit the image in the editor (crop, flip etc) it fails when saving.
Original image: https://ibb.co/FgtvBLy
Is it due to the size, or something in the image itself, meta, color profile etc?
Craft CMS version
4.10.8
PHP version
8.2.21
Operating system and version
No response
Database type and version
No response
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.1-32)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: