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
Images larger than 1200px width and/or height have incorrect aspect ratio. When an image has dimensions higher than 1200 the height/width is reset down to 1200 when the item is saved a second time.
Steps to reproduce
Insert a non-square image with dimensions higher than 1200px for height and width using "insert image"
Save the entry
Open the entry again (if you view the source you'll see the aspect ratio as 1200/1200 and height and width set to 1200)
Save entry again
Go to a page displaying the entry and the image is square, stretching the aspect ratio. Inspect the image and it will show style="aspect-ratio:1200/1200;" and the height and width attributes are set to 1200.
Additional info
Craft version: Craft Pro 5.5.7
PHP version: 8.3.14
Database driver & version:
Plugins & versions:
CKEditor | 4.4.0
The text was updated successfully, but these errors were encountered:
Description
Images larger than 1200px width and/or height have incorrect aspect ratio. When an image has dimensions higher than 1200 the height/width is reset down to 1200 when the item is saved a second time.
Steps to reproduce
Additional info
CKEditor | 4.4.0
The text was updated successfully, but these errors were encountered: