Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1407936
    Jason
    Guest

    Hi guys,

    I have set my woocommerce product image to 705px in Customizer to take advantage of the Masonary image size (705x705px).

    Unfortunately Enfold is still setting sizes to 450px in the responsive part of the tag, eg:

    sizes=”(max-width: 450px) 100vw, 450px”

    This is making the main product image very blurry as it is using the 450px version.

    How to fix this?

    Cheers, Jason

    #1408358

    Hi Jason,

    Thanks for contacting us!
    Please go to Enfold > Performance, then disable Responsive Images
    Hope it helps.

    Best regards,
    Nikko

    #1408376

    Hi Nikko,

    What if I want responsive images but want Enfold to use the correct one?

    Cheers,
    Jason

    #1408377

    Tag with email reply :)

    #1408381

    Hi Jason,

    Can you give us a link? so we can inspect the page.

    Best regards,
    Nikko

    #1408385

    Link in private content below.

    #1408386

    Another example

    #1408456

    Hi Jason,

    Thanks for giving the links, I tried to check both but the 1st link seems to be blurry in all sizes (I have included a link in private content).
    I also inspected it and images used are not the small ones and it’s not stretched as well.
    As for sizes=”(max-width: 450px) 100vw, 450px” it simply means when the width is 450px or lower (which is applicable to mobile phones in portrait mode), make the size of the image 100vw with fallback of 450px which is basically 100% width of the screen.
    You can verify it in https://css-tricks.com/a-guide-to-the-responsive-images-syntax-in-html/#using-srcset

    Using srcset with width (w) descriptors like this means that it will need to be paired with the sizes attribute so that the browser will know how large of a space the image will be displaying in. Without this information, browsers can’t make smart choices.

    The 2nd link you gave does not look blurry on my end.

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.