{% extends widget.get_base_template %}
{% load i18n thumbnail %}

{% block content %}
<div class="row">
  {% for category_file in widget.category.files %}
  {% with category_file.file as file %}
  <div class="col-lg-3 col-md-4 col-xs-6 {% if forloop.counter0|divisibleby:"4" %}no-margin{% endif %} thumb">
    {% include "widget/mediagallery/_image.html" %}
  </div>
  {% endwith %}
  {% endfor %}
</div>
{% endblock %}