↧
Answer by Balduin for Animate native lazy load image (loading='“lazy”)
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...
View ArticleAnswer by Design Pesendorfer for Animate native lazy load image...
I managed to use a simple jQuery solution, since its already used in my case: //fade in lazy loaded images $('article img').on('load', function(){ $(this).addClass('loaded'); });The images have 0...
View ArticleAnimate native lazy load image (loading='“lazy”)
Currently, images with the attribute loading="lazy" (https://web.dev/native-lazy-loading/) are displayed immediately when loaded, i.e. without fade-in effect.Is there a way to animate images with the...
View Article