• Resolved Kimball31

    (@kimball31)


    PHP: 7.1.30
    Wordpress: 5.2.2
    SG Optimizer: 5.3.0
    Jetpack: 7.7
    Health Check: 0 Critical Errors

    When I turn on “Lazy Loading Images” the Jetpack image Carousel will not work. When I click on an image in the carousel the black popup shows up, but without the image. clicking on the “X” will not close the window. Trying to leave a comment says “Sorry, but there was an error posting your comment.”

    In the browser console I see this error:
    jetpack-carousel.min.js:4
    Uncaught TypeError: Cannot read property ‘split’ of undefined
    at a.fn.init.originalDimensions (jetpack-carousel.min.js:4)
    at a.fn.init.e.fn.jp_carousel (jetpack-carousel.min.js:4)
    at a.fn.init.bestFit (jetpack-carousel.min.js:4)
    at a.fn.init.e.fn.jp_carousel (jetpack-carousel.min.js:4)
    at a.fn.init.fitInfo (jetpack-carousel.min.js:4)
    at a.fn.init.e.fn.jp_carousel (jetpack-carousel.min.js:4)
    at a.fn.init.updateSlidePositions (jetpack-carousel.min.js:4)
    at a.fn.init.e.fn.jp_carousel (jetpack-carousel.min.js:4)
    at a.fn.init.selectSlide (jetpack-carousel.min.js:4)
    at a.fn.init.e.fn.jp_carousel (jetpack-carousel.min.js:4)

    When I turn off “Lazy Loading Images” all the carousel work fine.

    I tried using the Exclude List. Adding jp-carousel-slide (and .jp-carousel-slide img, and jp-carousel-wrap, and jp-carousel) but none of those help. What class do I use to exclude the carousel? And what notation do you use, i.e. jp-carousel or .jp-carousel?

    • This topic was modified 5 years, 2 months ago by Kimball31.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jetpack-carousel.min.js:4 TypeError: Cannot read property ‘split’’ is closed to new replies.