Major Issue with Images
-
I have a clean install of WordPress 5.4, WooCommerce 4.0.1 and StoreFront 2.5.5, all latest versions at the moment. No plug-ins installed, just created one simple Product and added one image.
When i open the product page i can see three calls to images:
- Image-scaled.jpg
- Image-416×416.jpg
- Image-324×324.jpg
- Image.jpg?w=200&h=200
- Image.jpg?w=400&h=400
This is all the same image at different sizes, so it could all be scaled at the browser saving two http requests and bandwidth. This is highly inefficient if you have a lot of product simple/variable with many images.
I have read the Woocommerce article about images but it doesn’t address this (https://docs.woocommerce.com/document/image-sizes-theme-developers/)
I looked at the storefront demo site, for example, this product page:
https://themes.woocommerce.com/storefront/product/lowepro-pro-roller-x300-aw/
Same problem but with different magnitude, there is only two calls per image and its the same image but with a request to scale it like:
Also inefficient, but better.
Why just not take the larger photo that is being downloaded and resize it to the thumbnails needed?
Can anyone help me out how to simplify this and save a lot of resources?
ThanksThe page I need help with: [log in to see the link]
The topic ‘Major Issue with Images’ is closed to new replies.