lazy load images
commit4732b19747d89666c7c03e9a5a521b58d72df65e
authorAndreas Gohr <andi@splitbrain.org>
Tue, 5 Jan 2021 08:12:09 +0000 (5 09:12 +0100)
committerAndreas Gohr <andi@splitbrain.org>
Tue, 5 Jan 2021 10:02:35 +0000 (5 11:02 +0100)
tree859288036be71cac39f18042cf18e0f1d51a5b46
parentf066a39776aab1b798ad7678f49bfb4228e89d11
lazy load images

This adds the loading="lazy" attribute to embedded images and the
thumbnails in the media manager. This instructs modern broswers to load
images on demand when they come into view. It can reduce used bandwith
and improve perceived speed.
inc/media.php
inc/parser/xhtml.php