Closed skylee91 closed 7 years ago
Hey @skylee91
Could you please elaborate? What do you want to achieve? Do you want to set an alternative src when the actual src is broken?
Yes, let say the actual src is broken, can we display a Image Not Found picture to user?
@skylee91 You can already do it today in the error callback. Something like this:
var bLazy = new Blazy({
error: function(ele, msg){
ele.src = "not-found-image.jpg"
}
});
I might add it as an option to define in next release
Thanks. It helps a lot.
How to set src if the source is a broken link?