{% load image_tags %} {% load i18n %} {% load staticfiles %} {% load flash_sale_tags %} {% with all_images=product.get_all_images %} {# use length rather then count as the images get queried anyways #} {% if all_images|length > 1 %}
{% else %} {# Only one image to show #}