• Resolved mrk978d

    (@mrk978d)


    Hi

    For some reason my site is only displaying images when I am logged in to WP Admin or if I disable Litespeed > page optimization > media > lazy load images.

    The caches have all been purged including the server cache.

    Any advise appreciated…

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

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

    (@qtwrk)

    what happens if you reset to default setting and only enable lazyload , does it work?

    Thread Starter mrk978d

    (@mrk978d)

    Hi

    I reset Litespeed and nothing changed. I disabled all plugins – still not loading.

    Hovering over an image (where the image should be) the styles shows:

    img[data-lazyloaded] {
    opacity: 0;
    -webkit-transition: opacity .3s linear .1s;
    -moz-transition: opacity .3s linear .2s;
    transition: opacity .3s linear .2s;
    }
    from wp-content/litespeed/css/0dac0a25cbafc221630e08cf8f0aaf4f.css

    I have tried adding the following css to my custom css file:

    img[data-lazyloaded] {
    ? opacity: 1 !important;
    ? -webkit-transition: opacity .3s linear .1s;
    ? -moz-transition: opacity .3s linear .2s;
    ? transition: opacity .3s linear .2s
    }

    With this code added the images eventually load, but the site is very slow.

    I have Shortpixel Image Optimizer plugin, but even if I disable this plugin it makes no difference. I have turned off Image Optimizer settings in Litespeed as I don’t need images being optimized twice.

    Thanks for your assistance.

    Plugin Support qtwrk

    (@qtwrk)

    is that css still in place ? because I don’t see it loading

    and when you say slow , how exactly is it ? like page loading slow ? image showing up slow or something ?

    Thread Starter mrk978d

    (@mrk978d)

    I have added the css again. Images slow to load. Thanks

    Plugin Support qtwrk

    (@qtwrk)

    well, it looks normal to me , that’s how lazyload works , if you think this loads images too slow , you might just disable lazyload

    Thread Starter mrk978d

    (@mrk978d)

    are you not getting the grey box? On pagespeed insights it says to properly size images – as if the images have not been optimized.

    Plugin Support qtwrk

    (@qtwrk)

    yes, grey box is actually the result and effect of lazyload

    no , that one is how your theme to choose to display the image, about its size

    Thread Starter mrk978d

    (@mrk978d)

    ok, have disabled Litespeed lazyload, will see how it goes.

    Thanks for your assistance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Images do not display if Lazyload is ON’ is closed to new replies.