{% extends "photos/base-wide.html" %} {% load i18n %} {% load humanize %} {% load tagging_tags %} {% load photo_tags %} {% load pagination_tags %} {% load smart_if %} {% load base_tags %} {% load base_filters %} {% block meta_description %}{{ photo.title|striptags|truncatewords:20 }}{% endblock %} {% block meta_keywords %}{{ photo.meta_keywords }}{% endblock %} {% block meta_canonical_url %}{% endblock %} {% block title %}{% firstof photo.title "Untitled" %} - {% blocktrans %}Photo{% endblocktrans %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block body %} {% tags_for_object photo as tags %}

{% firstof photo.title "Untitled" %}

{% if set_id > 0 %} {% endif %}

{% if photo_next_url %} {{ photo.title }} {% else %} {{ photo.title }} {% endif %}
{{ photo.title }} {% if photo.photographer %} taken by {{ photo.photographer }} {% else %} uploaded by {% if photo.creator.get_full_name %}{{ photo.creator.get_full_name }}{% else %}{{ photo.creator.username }}{% endif %}. {% endif %} {% if photo.get_license == photo.default_license %} {{ photo.default_license.name }}. {% else %} {% blocktrans with photo.get_license.deed as photo_deed and photo.get_license.name as photo_name %}Licensed under {{ photo_name }}.{% endblocktrans %} {% endif %}
{% fb_like_button_iframe photo.get_absolute_url %}
{{ photo.caption|safe|urlize }}
{% if photo.exif_data %} {% with photo.exif_data.DateTimeOriginal|exif_to_date|date:'F j, Y' as taken_dt %} {% if taken_dt %}
{% trans "Taken on:" %} {{ taken_dt }}
{% endif %} {% endwith %} {% if photo.exif_data.Make or photo.exif_data.Model %}
{% trans "Camera:" %} {% if photo.exif_data.Model %} {{ photo.exif_data.Model }} {% else %} {{ photo.exif_data.Make }} {% endif %}
{% endif %} {% if photo.exif_data.location %}
{% trans "Location:" %} {{ photo.exif_data.location }}
{% endif %} {% endif %}
{% photo_options request.user photo %}
{% if tags %}
{% trans "Tags:" %} {% for tag in tags %}{{ tag }}{% if not forloop.last %},{% endif %}{% endfor %}
{% endif %}
{% csrf_token %}
{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}