Description
Story
Precoditions
- Magento2 2.4-develop with ASI 2.1-develop is installed
- Enhanced Media Gallery is enabled in
Stores Configuration -> Advanced -> System -> Media Gallery
fieldset - Rendition width and height are set in
Stores Configuration -> Advanced -> System -> Media Gallery Renditions
fieldset
Steps to reproduce:
- Upload an image that is higher/wider than the configured rendition width/height to the media gallery
- Insert the image to the content
Expected result
- The rendition of the image instead of the original image should be inserted (from
.renditions
directory) - The rendition height/width should be reduced not to exceed configured rendition width and height
- The rendition of the image should keep the original image aspect ratio
- Used in information should be updated accordingly and displayed in the
Image Details
panel of media gallery