Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Modern versions of browsers support lazy loading of images if you add the loading="lazy" attribute to the img tag:
More details: https://habr.com/ru/company/ruvds/blog/448914/
<img src="..." loading="lazy" />
$(таб).click(function(e) {
e.preventDefault();
$(контейнер куда нужно подгрузить картинку).append('<img src="' путь к вашей картинке '" alt="">');
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question