Open KarelJanVanHaute opened 1 day ago
Preview of an image asset gets blown up when previewed.
That the popup doesn't blow up the image. So that the popup will never be larger than the max size of the image.
The popup is shown 100vw and the image scales with it. So the image is often shown larger than its maximum resolution. Resulting in a blown up image.
5.4.2
8.2
MacOS 15.0.1
mysql 8.0
No response
-
Hi, thanks for getting in touch!
Could you please confirm if I got this right?
Do you see any errors in the console when this happens? What browser are you on?
What happened?
Description
Preview of an image asset gets blown up when previewed.
Steps to reproduce
Expected behavior
That the popup doesn't blow up the image. So that the popup will never be larger than the max size of the image.
Actual behavior
The popup is shown 100vw and the image scales with it. So the image is often shown larger than its maximum resolution. Resulting in a blown up image.
Craft CMS version
5.4.2
PHP version
8.2
Operating system and version
MacOS 15.0.1
Database type and version
mysql 8.0
Image driver and version
No response
Installed plugins and versions
-