Support » Plugin: LiteSpeed Cache » Blurred images.

  • Resolved boppar

    (@boppar)


    I have a problem with blurred images. Can this problem be caused by some settings in Litespeed cache?

    On the link attached there is a catalog page with 6 products. The images looks blurry. They are uploaded to admin in high resolution.

    In admin/appearance/customize/woocommerce/product images I’ve set uncropped.

    In admin/settings/media
    Thumbnail size 150×150
    Medium size 300×300
    Large size 1024×1024
    When I inspect an image in inspector it shows the size 324×216.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Nope, LSCWP won’t change URL size

    I got a same issue on one of my Woo site , in my case it was due to theme will automatically loads different size image depends on screen size/resolution and it kind of mess up on big screen with low resolution combo.

    you may wanna look into that.

    Best regards,

    Thread Starter boppar

    (@boppar)

    Hi @qtwrk
    Thanks!

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    although it’s not plugin issue , but as a professional courtesy

    this is my final solution toward that issue :

    RewriteCond %{HTTP_USER_AGENT} "!QUIC.cloud image optimization" [NC]
    RewriteCond %{DOCUMENT_ROOT}/$1-800x800.$3 -f 
    RewriteRule ^(.*)-(400x400|300x300|100x100).(jpg\.webp|jpeg\.webp|jpg|jpeg) $1-800x800.$3 [L]

    I tried to change the thumbnail sizes or modify the theme code to get a better result , but it’s proven too much complication , so I just used this rule to override it

    this rule will check if 800x800 file existence, then make 400×400, 300×300 , 100×100 to rewrite into 800×800 ones , the URI will remain same , but the file will be 800×800 to give better quality image.

    but this could also drastically incrase the page size though , test it out before implement to determinate if it’s worth it or not.

    Best regards,

    Thread Starter boppar

    (@boppar)

    @qtwrk
    Hi.
    Very kind, thanks. I’ll try it.

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