{% for image in images %}
  • {% if image.thumb_id %}
    {% else %}
    {% endif %}
  • {% endfor %}