rdtardif
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] Product Thumbnail Size problemHi,
On the Edit Product Page, the Product Gallery image link are as follow;
https://www.deeworks.ca/wp-content/uploads/2016/01/T5-adapter-2-100×100.png
https://www.deeworks.ca/wp-content/uploads/2016/01/T5-adapter-3-100×100.png
https://www.deeworks.ca/wp-content/uploads/2016/01/T5-adapter-4-100×100.pngBut on the product page here’s the code of the thumbnail;
<img onload=”this.width = this.naturalWidth; this.height = this.naturalHeight” src=”https://www.deeworks.ca/wp-content/uploads/2016/01/T5-adapter-2-100×100.png” srcset=”https://www.deeworks.ca/wp-content/uploads/2016/01/T5-adapter-2-100×100.png 100w, https://www.deeworks.ca/wp-content/uploads/2016/01/T5-adapter-2-150×150.png 150w, https://www.deeworks.ca/wp-content/uploads/2016/01/T5-adapter-2-648×648.png 648w” draggable=”false” class=””>I really don’t know why there is a third “srcset” for the size that I have not set anywhere in the site.
For example, here is the same thumbnail image source on my staging site, notice there is no “srcset” code in the line:
<img onload="this.width = this.naturalWidth; this.height = this.naturalHeight" src="https://www.deeworks.ca/deeworks-api-tes/wp-content/uploads/2016/01/T5-adapter-2-100x100.png" draggable="false" width="100" height="100" class="flex-active">
I have about 50 product with this problem
Forum: Themes and Templates
In reply to: [Storefront] Product Thumbnail Size problemHi,
The other thread was closed and I feel it’s more pertinent for this Storefront sub forum as these image size are controlled by the theme and I have no control to change them.
I am pretty sure that re-uploading the picture for every product would work, it would force WP to generate the new thumbnail size and stop trying to link to an non-existent size. The 648×648 size was maybe the size of my old theme before I switched to storefront.
The only problem with downloading and re-uploading every product image is time, there is a lot of them to process.
The thumbnail regeneration works flawlessly; the theme ask for 100×100 and 150×150 picture and they are generated but nowhere is it requested to make the 648×648 size as it’s not used anymore that’s why they don’t get generated. Even when I create a duplicate of the product the image are not working.
I have a staging site that was created in november 2023 and on the staging site there is no problem with the picture, there is no “srcset” command in the image link and only the 100×100 picture is linked. That is strange.
Forum: Plugins
In reply to: [WooCommerce] Thumbnail in product page are all broken linkThere you go;
As you said the picture size are controlled by my theme. I also posted this under the storefront subforum.
Forum: Themes and Templates
In reply to: [Storefront] Product Thumbnail Size problemThis is the product page. These are the oldest product that were created in 2016.
- This reply was modified 2 months, 1 week ago by rdtardif.
Forum: Plugins
In reply to: [WooCommerce] Thumbnail in product page are all broken linkI have found a workaround. I was looking at the page source and the difference between my working and non-working image was srcset is populated with 3 image size on the one that don’t work. Looking online I found that srcset is a command for responsive image, so I downloaded a plugin that completely disable responsive image in my theme. Now I only have the 100×100 thumbnail showing up.
Where are the setting for the responsive image if I want to avoid it from trying to display the 648×648 image size? I have launched my staging site that is about a year old and all image file are working. I compared my installed plugin and they were the same so I don’t know when and where this problem started.
Removing the srcset completely is much likely a bad idea for mobile user but it’s the only workaround I have found so far.
Forum: Plugins
In reply to: [WooCommerce] Thumbnail in product page are all broken linkHi, thanks for the quick reply.
I wanted to understand this better. Do you mean you removed the images from your website?
Have you added new ones to the products?I never removed any image from my site, so I am kinda curious on how they went missing in the first place. But they are not in the uploaded folder anymore, but since they are resized image of my original one they could be redone. I did not upload new image to my product as there are several of them that are affected by this.
Have you uploaded the old images to the website’s media library with the 324 size?
I did not, these image size were automatically generated by wordpress in several size years ago. All of them are available in 100 x 100 and 150 x 150 format (right click on the broken image and inspect the page and we can see the different link for each size)
Are you still able to see them as 648 on the media library?
It seems like my 648 W/H image are not there anymore.
I can provide backend access if need be or do a staged site.
Roger
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Where does Shop Review land?Judging by the delay most people are experiencing to get an answer to their question, I dont think I will consider the paid version of this plugin ??