{% load thumbnail %} {%ifequal rtopic.attachment_type "text"%}
-----
File Attachment :
{{rtopic.filename}}
Download
-----
Image Attachment :
{{rtopic.filename}}
{% thumbnail rtopic.file "200x200" as file_thumbnail %}
{% endthumbnail %}
Download