{% load humanize thumbnail its %}

{{album.title}}

{{album.description}}

{% for photo in album.photo_set.all|dictsort:"order"|slice:":3" %} {% thumbnail photo.filename "200x200" crop="center" as im %} {{photo.title|escape}} {% endthumbnail %} {% endfor %}