{% load thumbnail %}
{% if user.avatar %} {% thumbnail user.avatar fullsize crop="center" as im %} {% endthumbnail %} {% else %} {% endif %}