• Resolved bluelightwave

    (@bluelightwave)


    After update, I started noticing that images are loading blurry. I disabled AO and images load just fine, but once I enabled AO then they load blurry.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Once we know that we can decide what the next step(s) should be.

    frank

    Thread Starter bluelightwave

    (@bluelightwave)

    Unticked lazy-load images. Reloaded page and images are loading fine, no blur. What seems to be the issue with the lazy load option, I wonder.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    the blurry image is the “low quality image placeholder”, which _should_ be replaced by the shortpixel-cdn-optimized image by virtue of the lazyload JS (lazysizes), which I assume does not happen due to a JS problem. any JS errors on the browser console when lazyload is on?

    Thread Starter bluelightwave

    (@bluelightwave)

    Hi!

    I have done a recording of the browser console, I think this is what you are refering too if not I would appreciate it if you point me to the right place. Thank you

    https://www.loom.com/share/3996054c81b447bca297272835b9ce17

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Ah, OK, so the problem is not with the fact the blurry images aren’t replaced with the “real” image, but the fact you see the “low quality image placeholder” first?

    In that case you can disable the LQIP’s with this code snippet;
    add_filter( 'autoptimize_filter_imgopt_lazyload_dolqip', '__return_false' );

    hope this helps,
    frank

    Thread Starter bluelightwave

    (@bluelightwave)

    Thank you Frank! where exactly do I add this to? Do i need to download the code snippet plugin? I am not shy to update code, but would need to know where. :/

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    The easiest & safest solution indeed is using the code snippets plugin.

    Thread Starter bluelightwave

    (@bluelightwave)

    Quick question though, why am I seeing this now, this was not present before. This is also happening on my other two websites is this due to the latest OA update?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    there was a bug in the previous versions which had the lqip image loaded while it remained invisible, which is why you didn’t see it before ??

    Thread Starter bluelightwave

    (@bluelightwave)

    thank you. I have added the code snippet to the function.php and seems to have fixed it.

    • This reply was modified 4 years, 3 months ago by bluelightwave.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    happy it works bluelightwave, feel free to leave a review of the plugin and support here! ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Website loading with blur images’ is closed to new replies.