lazy mhmi
//Version 1.0.1.1 - 20220614 (function ($) { var lazyElements = $('.delayLoad'); function lazyLoadEm() { lazyElements.each(function(theIndex, item){ if ($(item).attr("data-src")) { var newSRC = $(item).attr("data-src"); $(item).attr("src", newSRC).removeAttr("data-src"); } else { $(item).addClass('imgSet'); } $(item).removeClass('delayLoad'); }); } $( document ).ready(function() { lazyLoadEm(); }); }(jQuery));