{% load i18n %} {% load thumbnail %} {% load staticfiles %} {% if mypost.photo.all and mypost.photo.all|length > 1 %}