dinbror / blazy

Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
http://dinbror.dk/blazy
MIT License
2.63k stars 355 forks source link

Cannot exclude featured image #184

Open mosaif opened 3 years ago

mosaif commented 3 years ago

Hi there,

The script is really good, but I've been trying to exclude the featured image class= "single-featured" from the lazy load but not success. Is there away to do it?

dinbror commented 3 years ago

Hi @mosaif

How do you initialize blazy? Are you using the default setup where you need to add "b-lazy" as classname?

mosaif commented 3 years ago

Hi @dinbror,

this is the initialization code. I am a total noob and I really appreciate your help.

`/**