{% import "header.html" as header %}
Photo
{% set filename = photo["id"] + "." + photo["extension"] %} {% set link = "/file/" + filename %} {% set mimetype=photo["mimetype"] %} {{header.make_header()}}
Tags
{% for tag in photo['tags'] %}
{{tag["qualified_name"]}}
{% endfor %}
add
File info
{% if photo["width"] %}
Dimensions: {{photo["width"]}}x{{photo["height"]}} px
Aspect ratio: {{photo["ratio"]}}
Size: {{photo["bytes_str"]}}
{% endif %} {% if photo["duration"] %}
Duration: {{photo["duration_str"]}}
{% endif %}
Download as {{photo["id"]}}.{{photo["extension"]}}
Download as "{{photo["filename"]}}"
{% if photo["albums"] %}
Albums containing this photo
{% for album in photo["albums"] %}
{{album["title"]}}
{% endfor %} {% endif %}
{% if mimetype == "image" %}
{% elif mimetype == "video" %}
{% elif mimetype == "audio" %}
{% else %}
View {{filename}}
{% endif %}