Use thumbnail in profile_update.

This commit is contained in:
2020-12-25 14:29:38 +01:00
parent 67ce6cb50b
commit 011a58f6b3
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
{% extends 'global.html'%}
{% load i18n %}
{% load thumbnail %}
{% load widget_tweaks %}
# {% block title %}{% trans 'Edit Explorer profile' %}{% endblock %}
@@ -34,9 +35,9 @@
</div>
<div class="LP-Form__Composition">
{% if explorer_image_url %}
{% if explorer_image %}
<div class="LP-Form__Field">
<img class="LP-Form__Field LP-Image" src="{{ explorer_image_url }}"/>
<img src="{% thumbnail explorer_image 200x200 %}"/>
</div>
{% endif %}
<div class="LP-Form__Field">