Let photo card thumbnail images lazyload.

It seems that some people like lazyload and others don't. Let's try it.
This commit is contained in:
voussoir 2020-08-28 16:24:18 -07:00
parent 2eed3ff1c5
commit 9b47a6dd4e

View file

@ -57,7 +57,7 @@
{% else %}
{% set tag_names_inner = "" %}
{% endif -%}
<a class="photo_card_thumbnail" target="_blank" href="/photo/{{photo.id}}"><img src="{{thumbnail_src}}"></a>
<a class="photo_card_thumbnail" target="_blank" href="/photo/{{photo.id}}"><img loading="lazy" src="{{thumbnail_src}}"></a>
<span class="photo_card_tags" title="{{tag_names_title}}">{{tag_names_inner}}</span>
{% endif %}
</div>