• Resolved jamy974

    (@jamy974)


    Hello,

    firstable thanks for your plugin !

    cdn shortpixel duplicate my pictures so there’s two images with the same name but it load the duplicate one first and then show the real one.
    The duplicate image is a dark background with a yellow gradient so it’s not pretty at all ! You can see it in the console Network.

    How can i solve the problem ?

    Best regards.

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

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

    (@optimizingmatters)

    I can’t seem to reach your site at the moment, but the first image is very likely the “low quality image placeholder” which is shown briefly before the full image loads. If you don’t want such an LQIP image, you can disable that functionality with this code snippet:

    
    add_filter('autoptimize_filter_imgopt_lazyload_dolqip','__return_false');

    hope this helps,
    frank

    Thread Starter jamy974

    (@jamy974)

    Thanks for the reply.

    For the moment i will disable the function because the duplicate images doesn’t look the same at all. Instead of an logo (loader) i got a black background with yellow gradient ??
    You got a problem to reach my site ?

    Thread Starter jamy974

    (@jamy974)

    Just realize that every duplicate image has a diferents gradient. May be that’s how it works ?
    Anyway i’ve exclude the image (loader) that cause problem.

    Regards

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I can reach the site now ??

    Re. solutions; if only an issue for a couple of images, you could exclude those from being lazy-loaded (although that also means they won’t be in webp any more either).

    frank

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cdn shortpixel duplicate picture’ is closed to new replies.