Unfortunately it is not as simple as the simple jQuery solution above..on('load')
does not work properly for all Browsers (like Chrome) as discussed here: Check if an image is loaded (no errors) with jQuery
↧
Answer by Balduin for Animate native lazy load image (loading='“lazy”)
↧