• Resolved su1

    (@su1)


    I’m confronted to a very weird problem I can’t debug. It might be related to Woocommerce or the twenty twenty four theme, I’m not sure at the moment.

    The problem: some product images displayed on my Woocommerce shop page are rendered blurry by some browsers (Chrome, Edge) but not others (Firefox).

    I have tried everything recommended by Woocommerce here https://woo.com/document/fixing-blurry-product-images/ to avoid blurry images, including forcing regenerating thumbnails and uploading large (>1000px) images. Nothing is working. As I reupload new images, some of them (some of them only) are immediately displayed blurry.

    I have checked that the html code rendered by Firefox and Chrome is the same. But for some reason, Chrome show the images blurry and not Firefox.

    I have cleared my Chrome cache and tried from a browser I never use (Edge ?? ) : the blurry images are the same under Chrome and Edge.

    There is a random component to this problem, as *some* images only are displayed blurry on my shop page, and as sometimes, the blurriness disappears even on Chrome (without me doing anything special) but reappears after I reload the page.

    I’m saying it might be related to the twenty twenty four theme I use because switching to Storefront fixes the problem. But of course I don’t want to switch to Storefront, and I don’t see why only *some* browsers display *some* images blurry if it’s a general theme problem.

    Any idea what’s going on?

Viewing 12 replies - 16 through 27 (of 27 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @su1,

    Apologies. We do have the System Status Report that you previously shared, we store it securely and privately and it can be accessed by us alone. I checked the URL /soutien, and I saw that your products look fine. I am placing special emphasis on the first two items that have the same image. I was not able to see the 1st one blurry and the 2nd one was fine, too: https://prnt.sc/ma1TAi-VrkNC.

    I used Chrome 122 as well, just on Windows 11.

    Something else I have noted: when I reload my shop page, the images that appear sharp first appear blurry for like half a second, and then become sharp. Are different versions of the images loaded sequentially? Could some browsers stay “stuck” on the wrong one?

    The intermitence of this issue and this message could lead me to believe this is a browser issue or a connection issue, sometimes not loading the page properly.

    If we could find a way to fully replicate this and have the issue show up all the time it’d be easier to troubleshoot and determine the cause.

    Thread Starter su1

    (@su1)

    @omarfpg on your screenshot all products are blurry but I’m not sure if it’s just because of the small size of the screenshot.

    Can you add /screenshot.png to the root of my domain name and you should be able to see a screenshot with the first product sharp and the second blurry *even if they have the exact same image* as mentioned above. Besides, this screenshot was not taken by me but by https://www.site-shot.com/, so it makes me think it is not a browser issue or a connection issue. It’s also strange the problem happens only with the [products] shortcode but not with the block shop page, which also makes me think it is not a browser or connection issue.

    I agree it would be easier if you could fully reproduce the problem, but I have told you all the information I had on this problem at this point, I’m not sure what else I can do.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello su1

    Thank you for your reply.

    After checking the HTML code of your site I found that the first image (sharp image) is of larger size (600×600 px) and the second image (blurry image) is of smaller size (300×300 px).

    Here is a screenshot for your reference:

    https://snipboard.io/MlqGTA.jpg

    Could you edit the affected product and verify if the image is of the correct size? If they are uploaded in the correct size then you may need to check your theme settings.

    I look forward to your response. ??

    Thread Starter su1

    (@su1)

    @doublezed2 thanks for your response we’re making progress! So you’ve been able to reproduce my problem it looks like? Indeed I can see myself that the image resolution is not the same, but:

    – I am not using any special html or css for the blurry product. Both products have the exact same featured image, with url ending in don_ponctuel.png , not don_ponctuel-600×600.png or don_ponctuel-300×300.png. And the code I am using to display the products is just the shortcode

    [products columns="3" paginate="true" limit="18" class="alignwide text-center"]

    So what is deciding of the image size here? The shortcode or the theme?

    – second, when I access my shop from Firefox, no image is blurry, although some of them also have the smaller 300px size.

    • This reply was modified 8 months, 2 weeks ago by su1.
    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @su1,

    I tried replicating this (using the TT4 theme and the shortcode exactly as you have it), but I’m afraid no luck here; I get all the products showing 300×300 https://prnt.sc/xM9mSG-3N3cO. As a quick test, can you try editing your first product, the one that is having issues, and change the image for another one?

    I also notice you have a child theme of TT4 “Twentytwentyfourhomofabulus”, can you try with the base version of the theme to corroborate is not an issue with your child theme?

    Thanks!
    -OP

    Thread Starter su1

    (@su1)

    @omarfpg well that’s crazy! Hopefully @doublezed2 can confirm he was able to reproduce the problem.

    I’ve switched to the base version of TT4 but still same problem.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello su1

    Thank you for your reply.

    I checked your website again and now sometimes I get blurry images and sometimes get a clear image. Below is a screenshot of two different browser windows, one showing a blurry image and the other showing a clear image.

    My understanding is that this is happening because the product image has more than one image source. Based on the internet connection website loads the most suitable image.

    Check this screenshot below for reference:

    For further troubleshooting, could you please edit the page and show me how is the page created? This will provide us with more insights into the problem.

    I look forward to your reply. ??

    Thread Starter su1

    (@su1)

    @doublezed2 as I?said above this page is just created with a simple

    [products columns=”3″ paginate=”true” limit=”18″ class=”alignwide text-center”]

    It seems to me the multiple sources you point at in your screenshot are “normal”, they are just different sizes depending on the resolution of the device that will be used to access the page, no? They are srcset attributes and not src attributes.

    You say “based on the internet connection website loads the most suitable image.” but how do you explain you got different displays in different browsers with the same internet connection?

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello su1

    Thank you for your reply.

    I am trying to recreate your page on my test site but I am getting different HTML. I noticed that you have a custom child theme “Twentytwentyfourhomofabulus“.

    I will recommend switching to the default Twenty Twenty-Four theme for the time being so I can compare the code that is generated on your site with my site.

    I appreciate your cooperation. ??

    Best regards,
    Z.Z

    Thread Starter su1

    (@su1)

    @doublezed2 it’s done

    Thread Starter su1

    (@su1)

    hey guys, just wanted to say that I’ve spotted this problem happening in a regular image gallery in a regular page, so it’s definitely not a problem linked to Woocommerce. I’ve posted a thread on the Twenty Twenty four support forum but if you end up finding what’s going on with that theme, I’ll be happy to know!

    I thought installing an official theme would allow me to avoid such time-consuming problems, so sad I took this decision now ??

    Moderator Support Moderator

    (@moderator)

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Some browsers render my images blurry’ is closed to new replies.