{% load thumbnail %}
{% comment %}
If profile has an avatar, show it.
If user is viewing their own list and they don't have an avatar,
show them the Add Photo button. Otherwise show generic avatar.
{% endcomment %}
{% if profile.avatar %}
{% thumbnail profile.avatar "100x100" crop="center" as im %}
{% endthumbnail %}
{% else %}
{% if profile == user.get_profile %}
{% else %}
{% endif %}
{% endif %}