{% extends "photo_manager/base.html" %} {% block nav %} {% include "photo_manager/nav.html" with current=2 %} {% endblock nav %} {% block extra_head %} {% endblock extra_head %} {% block extra_body %}onLoad="initialize()"{% endblock %} {% block main_content %} {% load comments %}
{% if photo.get_previous %} Previous {% endif %} Full Screen {% if enable_download %} Download Full Size {% endif %} {% if photo.get_next %} Next {% endif %}
{% load thumbnail %} {% thumbnail photo.image "1024x650" quality=100 as im %} {% endthumbnail %}

{{ photo.title }}

By {{ photo.user.first_name }} {{ photo.user.last_name }}
From {{ photo.album }}

This photo was uploaded on {{ photo.date_uploaded|date:"F j Y" }}, and taken in {{ photo.location.city }}, {{ photo.location.get_country_display }}.

Other photos from {{ photo.location }}

Other photos from the {{ photo.album }} album

Comments

{% get_comment_list for photo as comment_list %} {% for comment in comment_list %}
{{ comment.user_name }} {% if comment.user %} Photographer {% endif %}

{{ comment.comment }}

{% endfor %}
{% get_comment_form for photo as form %}
{% csrf_token %} {{ form.content_type }} {{ form.object_pk }} {{ form.timestamp }} {{ form.security_hash }} {{ form.name }} {{ form.email }} {{ form.url }}
{% endblock main_content %}