{% extends widget.get_base_template %} {% load i18n %} {% load thumbnail %} {% for object in object.files %} {% with category_file.file as file %} {% if forloop.first or forloop.counter0|divisibleby:"4" %}
{% endif %}
{% thumbnail object.file.file "145x90" crop="center" as thumb %} {% endthumbnail %}
{% if forloop.counter0|divisibleby:"4" %}
{% endif %} {% endwith %} {% endfor %}