{% load thumbnails %} {% if obj.image %} {% endif %} {{ obj.text }}