- Issue created by @stecalle
Hi,
for a Commerce site (theme Belgrade) I've set some Media Image Style.
For the product page (for example), where I wish to use your module as formatter, the I've setted an Image Style of 480x480 pixel ("product 480x480") so an original image of 960x720 pixel is scaled to 480x360 pixel and an image of 720x960 pixel is scaled to 360x480 pixel.
Then I 've configured the formatter like this (mainly for test):
But your formatter take the minor dimension (360 pixel) to resize it at 480 pixel, while crop the other side to have an image of 480x480 pixel, with loss of data.
I don't have the possibility to change all images in a square shape.
I think the right way is to preserve the Image Style and center the image in the carousel.
Thanks
Stefano
Active
1.1
Code