collective / collective.lazysizes

Integration of lazysizes, a lightweight lazy loader, into Plone.
https://pypi.org/project/collective.lazysizes
6 stars 2 forks source link

Add class blacklist #5

Closed hvelarde closed 8 years ago

hvelarde commented 8 years ago

We have an issue with the Galeria image gallery framework: the script runs before lazysizes and it completely replaces the HTML getting rid of the information stored in the data-src attribute.

Adding a class blacklist to the control panel configlet will help us to skip processing specific elements to avoid issues like images not being loaded.