Answer the question
In order to leave comments, you need to log in
jQuery.lazyload for background-image?
There is a task to lazyload image loading in the following blocks: prntscr.com/il7uja , that is, images are set using background-image , and not using the img tag.
Has anyone done this with lazy (here is the plugin itself https://github.com/eisbehr-/jquery.lazy )? In principle, you can completely block to make lazy, if possible. Something to write your own is not reasonable.
Answer the question
In order to leave comments, you need to log in
Sorry, inattentively reviewed the info on the site: jquery.eisbehr.de/lazy/example_load-background-images
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question