{% import "header.html" as header %}
Photo
{{header.make_header()}}
Tags
{% for tag in tags %}
{{tag.qualified_name()}}
{% endfor %}
add
File info
{% if photo.width %}
{{photo.width}}x{{photo.height}} px
{{photo.ratio}} aspect ratio
{{photo.bytestring()}}
{% endif %}
Download as {{photo.id}}.{{photo.extension}}
Download as "{{photo.basename}}"
{% set albums=photo.albums() %} {% if albums %}
Albums containing this photo
{% for album in albums %}
{{album.title}}
{% endfor %} {% endif %}
{% set filename = photo.id + "." + photo.extension %} {% set link = "/file/" + filename %} {% set mimetype=photo.mimetype() %} {% if mimetype == "image" %}
{% elif mimetype == "video" %}
{% elif mimetype == "audio" %}
{% else %}
View {{filename}}
{% endif %}