Thumbnails lazy loading (#734)

This commit is contained in:
Viacheslav Slinko 2024-05-16 10:44:38 +03:00 committed by GitHub
parent ff334e0888
commit a92a35cfb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -145,7 +145,7 @@
</div>
</div>
{% if bookmark_list.show_preview_images and bookmark_item.preview_image_file %}
<img class="preview-image" src="{% static bookmark_item.preview_image_file %}"/>
<img class="preview-image" src="{% static bookmark_item.preview_image_file %}" loading="lazy"/>
{% endif %}
</li>
{% endfor %}