{% extends 'base.html' %} {% load photo %} {%block 'title'%}Bild #{{photo.id}}{%endblock%} {%block main%}

Bild #{{photo.id}}

{% img photo 700 %}

Datum
{% with photo.date as d %}
{{d|date:'l j F Y'}} {{d|date:'H:i:s'}}
{% endwith %}
Kamera
{{photo.camera}}
Upplösning
{{photo.img.width}} × {{photo.img.height}} pixlar
{% if photo.keywordtag_set.all %}
Taggar
{% for tag in photo.keywordtag_set.all %} {{tag}} {% endfor %}
{% endif %} {% if photo.persontag_set.all %}
Personer
{% for tag in photo.persontag_set.all %} {{tag}} {% endfor %}
{% endif %} {% if photo.placetag_set.all %}
Plats
{% for tag in photo.placetag_set.all %} {{tag}} {% endfor %}
{% endif %}
{%endblock%}