Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Carousel Addon > Lazyload images bug

Carousel Addon > Lazyload images bug

Scheduled Pinned Locked Moved Bug Reports
3 Posts 2 Posters 52 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    azote
    wrote on last edited by
    #1

    Hello,
    When I turn on the:

    Carousel Addon > Lazyload images option

    and I click a link to open the carousel, I only see an empty overlay.

    If I click to load the previous slide it suddenly loads all of the images but the JS console prints the following error:

    Uncaught TypeError: Cannot read properties of undefined (reading 'contains')
        at Object.w [as isImageLoaded] (carousel.plugin.min.js?ver=2.6.1:1:40942)
        at B (carousel.plugin.min.js?ver=2.6.1:1:14496)
        at N (carousel.plugin.min.js?ver=2.6.1:1:13782)
        at HTMLDivElement.<anonymous> (carousel.plugin.min.js?ver=2.6.1:1:10132)
        at HTMLDivElement.dispatch (jquery.min.js?ver=3.7.1:2:40035)
        at v.handle (jquery.min.js?ver=3.7.1:2:38006)[link text](link url)
    

    You can find the error here:
    https://www.ilariazennaro.com/

    I'd like to keep the LazyLoad option on but I need the first image to be shown shortly after opening the Carousel (without clicking again anywhere).

    Thanks a lot,
    Davide

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hey can you use the project overlay feature instead of the page overlay feature for projects?

      https://laytheme.com/documentation/projects-overlays.html

      the page overlay feature is meant for having like 2 or 3 overlays for burger menu, about page etc

      unfortunately iphone processing power set by apple in safari is probably not enough for ur website.
      it may crash, because the markup for all page overlays is inside the page already. but project overlay markup only gets loaded and put into the page once you click on a project link

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        and unfortunately i cant reproduce your issue

        can you do the steps in the blue box to the right please
        if that doesnt fix it:

        can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        I also code custom websites or custom Lay features.
        šŸ’æ Email me here: šŸ’æ
        info@laytheme.com

        Before you post:
        1. When using a WordPress Cache plugin, disable it or clear your cache.
        2. Update Lay Theme and all Lay Theme Addons
        3. Disable all Plugins
        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

        This often solves issues you might run into

        When you post:
        1. Post a link to where the problem is
        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
        Online Users
        A
        alasdair17
        P
        pvicente
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search