Archived topic
Problem with the images of the products if I move the mouse over it...
9 replies · Started by Robert on October 26, 2022
Hi
I have a problem with the images of the products...
On the begin it looks OK:
https://snipboard.io/DzGKE4.jpg
but if I move the mouse over the photo it looks not so good:
https://snipboard.io/YX1VZH.jpg
How could I fix it ?
Kr
Robert
Hi there,
odd, as your secondary image has the original image dimensions.... it should showing the same size image as the main image.
Are all your images the same size as each other ?
Hi
I did check it and for example for the product:
Sprężarka 1-fazowa firmy X
7,000.00zł
The two images have this size:
1: 1300 x 867 px
2: 1300 do 866 px
Robert
Do you have image related plugins or other functions that change image sizes ?
HI
no - I dont use any image plugins...
Kr
Robert
Hi Robert,
When I check the br1 site, in some of your products, the secondary image aspect ratio is very different than the primary image.
While some of the products have images with same aspect ratio, and they are working well.
Here's a shot clip taken on your br1 site:
https://www.screencast.com/t/kpGAupAsSkRV
And you can see the image differences:
1. Secondary image: https://www.screencast.com/t/s7JMuevh9zv
2. Primary image:https://www.screencast.com/t/rGElgSyqXG
Can you make sure all the images have same aspect ratio?
Hi
thx for the print screens.
But I have no idea why the primary image aspect ratio is 1:1
and the secondary image aspect ratio is very different (408:207)
I have never set or changed anywhere the image aspect ratio of the secondary image
Kr
Robert
I have never set or changed anywhere the image aspect ratio of the secondary image
It should comes with the original image you uploaded, if you go to the media library, click on the image, what's the aspect ratio it shows?
But no matter what the aspect ratio is for the original image, you should be able to crop it to a square in the media library.
Hi
I added now for the first product on the home page a new image, with a green "3"
and before I changed the aspect ratio to 1:1
and now if I move over it it shows corect :)
Thx
Robert
Nice, glad it works now :)