More image caching

This commit is contained in:
Thomas Sileo 2018-07-05 01:08:39 +02:00
parent 13c63e473a
commit 6d3ca7fcc5

View file

@ -4,7 +4,7 @@
{% if not follower.icon %} {% if not follower.icon %}
<img class="actor-icon" src="/static/nopic.png" style="width:{{ size }}px"> <img class="actor-icon" src="/static/nopic.png" style="width:{{ size }}px">
{% else %} {% else %}
<img class="actor-icon" src="{{ follower.icon.url }}" style="width:{{ size }}px;">{% endif %} <img class="actor-icon" src="{{ follower.icon.url | get_actor_icon_url(size) }}" style="width:{{ size }}px;">{% endif %}
</span> </span>
<div class="actor-inline"> <div class="actor-inline">
<div style="font-weight:bold">{{ follower.name or follower.preferredUsername }}</div> <div style="font-weight:bold">{{ follower.name or follower.preferredUsername }}</div>