Lazy Loading

Funktioniert auch bei iframe und picture:

<!-- Lazy-Load: Bild wird erst bei Bedarf geladen -->
<img src="gandalf.jpg" loading="lazy" alt="…"/>

<!-- Das Bild wird direkt beim Seitenaufruf geladen -->
<img src="gandalf.jpg" loading="eager" alt="…"/>

<!-- Browser entscheidet ob Lazy-Load zum Einsatz kommt oder nicht -->
<img src="gandalf.jpg" loading="auto" alt="…"/>