Open abdfahim opened 8 years ago
I'm looking for this feature too.
R.I.P
OK,I got it.
.on("error", $self.attr("src","images/error.png})
.attr("src", $self.attr("data-" + settings.data_attribute))
.on("error", function() { $self.attr("src","images/error.png"); })
4.minify the JS file and enjoy
Hi,
I want the plugin to show a no image or some predefined default image when the src url returns none (404 error). Is it possible?
<img class="lazy" data-original="http://www.mydomain.com/noimage.jpg">