{% extends "base.html" %} {% block extra_head %} {# We will always want to show the first image when we're on an album page #} {# Start loading now for faster document complete instead of waiting for js to load it #} {% if settings.show_map and album.show_map %} {% endif %} {% endblock %} {% block content %}
{% if settings.show_map and album.show_map %} Show/Hide Map (m) {% endif %} Fullscreen (f)
{% if album.zip %}

Download ZIP

{% endif %} {% if album.description %}
{{ album.description }}
{% endif %} {% endblock %} {% block late_js %} {% macro img_description(media) -%} {%- if media.big -%}Full size{%- endif -%} {# clean up tags and whitespace, including newlines, in the description #} {%- if media.description -%}
{{ media.description | striptags }}{%- endif -%} {%- if media.exif -%}
{%- if media.exif.iso -%}{{ media.exif.iso }} {%- endif -%} {%- if media.exif.exposure -%}{{ media.exif.exposure }} {%- endif -%} {%- if media.exif.fstop -%}{{ media.exif.fstop }} {%- endif -%} {%- if media.exif.focal -%}{{ media.exif.focal }} {%- endif -%}
{%- if media.exif.gps -%} {{ 'N{:.6f}'.format(media.exif.gps.lat) if media.exif.gps.lat > 0 else 'S{:.6f}'.format(-media.exif.gps.lat) }}{{ 'E{:.6f}'.format(media.exif.gps.lon) if media.exif.gps.lon > 0 else 'W{:.6f}'.format(-media.exif.gps.lon) }} {%- endif -%} {%- if media.exif.Make or media.exif.Model -%} {{ media.exif.Make }} {{ media.exif.Model }} {%- endif -%} {%- if media.exif.datetime -%} {{ media.exif.datetime }} {%- endif -%} {% endif %} {%- endmacro %} {% if settings.show_map and album.show_map %} {% endif %} {% endblock %}