WebP doesn’t work with Jetpack Carousel gallery
-
I’ve activated WebP support with the EWWW Image Optimizer plugin, and it works. The issue is in the Jetpack galleries; do not work with the WebP support active, showing these errors:
Uncaught TypeError: Cannot read property ‘split’ of undefined
at a.fn.init.originalDimensions (jetpack-carousel.js:1063)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
at a.fn.init.bestFit (jetpack-carousel.js:782)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
at a.fn.init.fitInfo (jetpack-carousel.js:814)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
at a.fn.init.updateSlidePositions (jetpack-carousel.js:629)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
at a.fn.init.selectSlide (jetpack-carousel.js:701)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
jetpack-carousel.js:1063 Uncaught TypeError: Cannot read property ‘split’ of undefined
at a.fn.init.originalDimensions (jetpack-carousel.js:1063)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
at a.fn.init.bestFit (jetpack-carousel.js:782)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
at a.fn.init.fitInfo (jetpack-carousel.js:814)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)
at a.fn.init.updateSlidePositions (jetpack-carousel.js:629)
at a.fn.init.$.fn.jp_carousel (jetpack-carousel.js:1435)The issue is related to WebP files and the Carousel gallery, maybe with EWWW Image Optimizer plugin. This occurs on my main web, but I tested it on a new WP installation, activating only Jetpack carousel galery and EWWW Image Optimizer plugin with WebP support, and the same thing happens.
The topic ‘WebP doesn’t work with Jetpack Carousel gallery’ is closed to new replies.