{% if post.embed %} {{ post.embed }} {% else %}
{% for file in post.files %}
{% if file.file == 'deleted' %} {% else %}

{% trans %}File:{% endtrans %} config.max_filename_display %} title="{{ file.filename|e|bidi_cleanup }}" >{{ file.filename|truncate_filename(config.max_filename_display)|e|bidi_cleanup }} {% else %} >{{ file.filename|e|bidi_cleanup }} {% endif %} {% else %} >{{ file.file }} {% endif %} ( {% if file.thumb == 'spoiler' %} {% trans %}Spoiler Image{% endtrans %}, {% endif %} {{ file.size|filesize }} {% if file.width and file.height %} , {{ file.width}}x{{ file.height }} {% if config.show_ratio %} , {{ ratio(file.width, file.height) }} {% endif %} {% endif %} {% include "post/image_identification.html" %} ) {% include "post/file_controls.html" %}

{% include "post/image.html" with {'post':file} %} {% endif %}
{% endfor %}
{% endif %}