0

After updating from Magento Open Source 2.3.3 to Magento Open Source 2.3.4, I observe arbitrary behavior in the rendering of product images on the category view pages.

Before the update, the product images were displayed square in a fixed size. Images with different aspect ratios were scaled so that they always fit into the square format.

This allowed a clean layout in both a horizontal and vertical grid: enter image description here

After the update to 2.3.4, the product images are no longer displayed in square format. The product images are now displayed with the aspect ratio of the source image.

This representation prevents a clean grid: enter image description here

Why does this arbitrary display of the product images occur? What has changed with Magento 2.3.4 and how can I change the size of the product images in the category view?

I'm using a older version of the porto theme, my app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/list.phtml is available as a github gist

Many thanks for your help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.