1 {% extends "base.html" %}
4 {% block title %}Photos - {{ object.album.title }} - {{ object.caption }}{% endblock %}
7 <div class="single_photo">
8 <a href="{{ object.image.url }}"><img src='{{ object.image.url|thumbnail:"width=500" }}' alt="{{ object.caption }}" /></a>
9 {% if object.caption %}
10 <p>{{ object.caption }}</p>
13 <div style="clear: both;"> </div>
14 {% if prev_photo or next_photo%}
17 <a href="/photo/{{ object.album.slug }}/{{ prev_photo.id }}/">Previous</a>
20 <a href="/photo/{{ object.album.slug }}/{{ next_photo.id }}/">Next</a>