lazysizes icon indicating copy to clipboard operation
lazysizes copied to clipboard

Not Lazy Loading Dynamic

Open hn1 opened this issue 3 years ago • 3 comments

The library does not lazy load dynamically added images. Does one have to specifically apply the script to the newly added images? Thanks

hn1 avatar Jul 09 '21 02:07 hn1

@hn1 Have you tried using this plugin?

IAluI avatar Aug 01 '21 04:08 IAluI

What plugin!?

hn1 avatar Aug 01 '21 22:08 hn1

If you add images dynamically it should work with the core script out of the box. In case you dynamically want to change src attributes you need the attr change plugin.

If you still experience problems provide a test case.

aFarkas avatar Aug 05 '21 13:08 aFarkas