fancyapps / ui

A library of JavaScript UI components, includes the best lightbox - Fancybox5
https://fancyapps.com/
Other
820 stars 99 forks source link

Lazy loading plugins not compatible with thumbnail carousel #543

Closed gavin310 closed 1 year ago

gavin310 commented 1 year ago

When opening a gallery with thumbnails, I can't get the thumbnails to load when any lazy loading plugin is active. I've tried with four different plugins, but they all have the same issue. I've also tried adding the "fancybox__thumb" class to the lazy loading exceptions with no success. Is there anything I could try that might help fix this conflict? The thumbnail carousel is the only part causing problems; the main carousel loads fine.

fancyapps commented 1 year ago

Hi,

Sorry, but I do not understand what are you referring to. Could you, please, create a demo using any playground (jsfiddle, codepen, etc)?

gavin310 commented 1 year ago

Thanks for the quick response. I should've mentioned the plugins I'm referring to are WordPress plugins. I'll work on creating a demo on a playground using a jQuery lazy loading plugin.

fancyapps commented 1 year ago

Carousel supports lazy loading using data-lazy-src attribute, see this demo - https://jsfiddle.net/zt5k1xjr/ There are no official WP plugins.

fancyapps commented 1 year ago

I am closing this, because I do not understand your issue.