{% import "header.html" as header %} {% import "tag_object.html" as tag_object %}
Photo {{photo.basename}}
{% set filename = photo.id + photo.dot_extension %} {% set file_link = "/file/" + filename %} {{header.make_header(session=session)}}
Tags
add
{% set tags = photo.sorted_tags() %} {% for tag in tags %}
{{tag_object.tag_object(tag, qualified_name=True, max_len=30, with_alt_description=True, with_alt_qualified_name=True)}}
{% endfor %}
File info
refresh
Filename: {{photo.basename}}
{% set author = photo.get_author() %} {% if author is not none %}
Author:
{{author.username}}
{% endif %} {% if photo.width %}
Dimensions: {{photo.width}}x{{photo.height}} px
Aspect ratio: {{photo.ratio}}
{% endif %}
Size: {{photo.bytestring}}
{% if photo.duration %}
Duration: {{photo.duration_string}}
Overall Bitrate: {{photo.bitrate|int}} kbps
{% endif %}
Download as original filename
Download as {{photo.id}}.{{photo.extension}}
{% set albums = photo.get_containing_albums() %} {% if albums %}
Albums containing this photo
{% for album in albums %}
{{album.display_name}}
{% endfor %}
{% endif %}
←Before
|
After→
{% if photo.simple_mimetype == "image" %}
{% elif photo.simple_mimetype == "video" %}
{% elif photo.simple_mimetype == "audio" %}
{% else %}
View {{filename}}
{% endif %}