{% load i18n fb_versions %}   {% if value.filetype == "Image" %} {% version_object value.path final_attrs.ADMIN_THUMBNAIL as thumbnail_version %} {% if thumbnail_version %}

{% else %} {% endif %} {% else %} {% endif %} {% if value and not value.exists %} {% endif %}