To large thumbnails on mobile
-
Hi!
I have a problem with the size of the thumbnails on category pages on mobile which are larger than on desktop.
Let me go into the details.
In woocommerce following image sizes are set. I had the sizes confirmed with the plugin simple image sizes
Thumbnail : Width 386px
Single image: width 480px
Thumbnail single image: width 113pxAll Images are cropped in 4:6 ratio
When inspecting the network traffic on a product category page I see following:
On desktop, thumbnails are downloaded with a width of 386px which is correct.
On mobile thumbnails are downloaded with a width of 768px which is too big. It takes an image size which is named ”Medium Large size”Why is a larger image downloaded to the browser on mobile?
I can see that srcset is used to determine what image to load but it fails.
I have set the images widths according to its actual container in catalog and on single product page.We use the Astra theme but have tested on Storfront and Twenty Twenty one as well and it is the same behaviour on all themes.
The page I need help with: [log in to see the link]
- The topic ‘To large thumbnails on mobile’ is closed to new replies.