Lazy load image

This commit is contained in:
grandeljay 2022-06-11 11:20:58 +02:00
parent 2d0704b163
commit c91cfd1bc5

View file

@ -72,7 +72,7 @@ $referer = '/?page=wishlists&id=' . $wish->wishlist;
<div class="sixteen wide column">
<?php if ($wish->image) { ?>
<img class="ui fluid rounded image preview" src="<?= $wish->image ?>" />
<img class="ui fluid rounded image preview" src="<?= $wish->image ?>" loading="lazy" />
<?php } ?>
</div>