Commit 45d5728c authored by Sli's avatar Sli

Merge branch 'skia/lazy_load_user_pictures' into 'master'

core: add lazy loading in user pictures page

See merge request !272
parents 03fdd0b9 6eabbaf2
Pipeline #2193 failed with stage
in 36 minutes and 39 seconds
......@@ -12,7 +12,7 @@
{% for picture in pictures[a.id] %}
<div class="picture">
<a href="{{ url("sas:picture", picture_id=picture.id) }}#pict">
<img src="{{ picture.get_download_thumb_url() }}" alt="{{ picture.get_display_name() }}" style="max-width: 100%"/>
<img src="{{ picture.get_download_thumb_url() }}" alt="{{ picture.get_display_name() }}" style="max-width: 100%" loading="lazy"/>
</a>
</div>
{% endfor %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment