Catalog displays a full size image
-
Hi,
I recently experienced that not all images on the catalogue pages have the same display size. If I add a new product, it’s picture will be shown full size in all catalogue pages (shop, widgets etcera). And this only happens when I upload a new image to the media library, not if I use an existing one.
This is what the HTML looks like:
<img src="https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORBRUT.jpg" class="woo-entry-image-main" alt="Goede Kant Van Het Spoor – Brutalistic" loading="lazy" itemprop="image" srcset="https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORBRUT.jpg 1000w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORBRUT-200x300.jpg 200w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORBRUT-768x1152.jpg 768w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORBRUT-150x225.jpg 150w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORBRUT-450x675.jpg 450w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORBRUT-100x150.jpg 100w" sizes="(max-width: 1000px) 100vw, 1000px" width="1000" height="1500">
and the HTML from a picture displaying correctly:
<img src="https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORSIXTH-150x225.jpg" class="woo-entry-image-main" alt="Goede Kant Van Het Spoor – Sixth Travaille" loading="lazy" itemprop="image" srcset="https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORSIXTH-150x225.jpg 150w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORSIXTH-200x300.jpg 200w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORSIXTH-768x1152.jpg 768w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORSIXTH-450x675.jpg 450w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORSIXTH-100x150.jpg 100w, https://www.speciaalbierwebshop.nl/wp-content/uploads/2022/08/SPOORSIXTH.jpg 1000w" sizes="(max-width: 150px) 100vw, 150px" width="150" height="225">
Besides the fact that the filenames are in different order, only the sizes settings seems to differ.
Although not very likely, I have verified the sizes of the product images in the Woocommerce section of the customizer. I have also checked the files present in the uploads folder and found no differences.
This behaviour started on or after August 21st. I have not rolled back any plug-in options yet. If not absolutely necessary, I don’t want to roll back updates to prevent possible errors.
As I suspect the WC plug-in, I have read the changelog of WC, but found no clues.
I’m using the OceanWP theme v3.3.3 and have not updated it to 3.3.4 yet. I have to review the update first to see what impact is has on my child theme.
Unfortunately I have no more ideas what the cause could be.
Please share your ideas and tips. Thanks.
The page I need help with: [log in to see the link]
- The topic ‘Catalog displays a full size image’ is closed to new replies.