{% set thumbnail_parameters = {'id': attachment.getId(), 'w': config('thumbnail','width'), 'h': config('thumbnail','height')} %} {% if attachment.mimetype starts with 'image/' %}
{{ attachment.getTitle() }}
{{ attachment.getTitle() }}
{% elseif attachment.mimetype starts with 'video/' %}
{% else %} {% for show in handle_event('ShowAttachment', attachment) %}
{{ show | raw }}
{% else %}
{{ attachment.getTitle() }}
{% endfor %} {% endif %}