• Roberto B.

    (@berlinipannellisnc)


    Hello,

    i’m trying to recreate my site with kadence theme + gutenberg + kadence blocks plugin

    In pages where i use the advanced gallery, and especially when i use the type “carousel”, in the html code there is the script skip-lazy that is added automatically by the plugin.

    The problem is that like this, the function lazy load doesn’t work and my page becomes heavy since all the images are loaded (not just the visible images)

    I manually removed the script skip-lazy from the html and temporarily solved the problem, but i wish i could choose if the “skip-lazy” is added or not.

    Furthermore, if a use some caching plugins, the skip-lazy is added automatically every time i change a page. So i cannot use wp fastest cache for example.

    Thank you, Roberto

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    May I have you disable any other plugins you have installed aside from Kadence blocks and then clear any cache? I just tested locally and the images are lazy loading in carousel. There is nothing adding a “skip-lazy”.

    I hope that helps.

    Thanks!

    – Chris

    Thread Starter Roberto B.

    (@berlinipannellisnc)

    Thank you for answering me.

    I deactivated every plugin except for gutenberg and kadence blocks.
    I removed the “skip-lazy” script in the editor and i switch view to visual editor.

    This is the visual editor. The carousel blocks ask me to recovery them, like in this picture:
    https://ibb.co/QY4PtLb
    The blocks works correctly in the frontend right now (no lazy load problems)

    If i recovery the block, the script “skip-lazy” is added automatically in the code editor page.
    https://ibb.co/xCpzsyf (block recovered)
    https://ibb.co/fDjk7Pn (skip-lazy script added)
    Like this, the page loads with no lazy load (all images loaded)

    Thank you, Roberto

    Hey,
    the skip-lazy was added for carousels by the request of a popular lazy loading plugin. I’m planning to rebuild the carousel with a different js implementation and I’ll address adding either an option for lazy loading or a built-in method for it.
    Ben

    Thread Starter Roberto B.

    (@berlinipannellisnc)

    Great, Thank you.

    Roberto

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Skip-lazy problem’ is closed to new replies.