summaryrefslogtreecommitdiff
path: root/design/templates/details
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/details')
-rw-r--r--design/templates/details/photo_galleries.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/photo_galleries.html b/design/templates/details/photo_galleries.html
index 33550f7..a7eed95 100644
--- a/design/templates/details/photo_galleries.html
+++ b/design/templates/details/photo_galleries.html
@@ -20,7 +20,7 @@
<h1 class="hide">Photos from {{object.set_title}}</h1>{%for photo in object.photos.all reversed %}
<article id="image-{{forloop.counter}}">
<h6><a href="#image-{{forloop.counter}}" class="permalink" title="link to this image">&#8734; {{forloop.counter|number_to_word}} &#8734;</a></h6>
- <div class="fig"><img src="{{photo.get_local_slideshow_url}}" {% if photo.has_retina %}srcset="{{photo.get_local_slideshow_url}}x2 2x"{% endif %} alt="{{photo.title}}" title="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} height="{{photo.slideshowimage_height}}" width="{{photo.slideshowimage_width}}" /></div>
+ <div class="fig"><img src="{{photo.get_local_slideshow_url}}" {% if photo.has_retina %}srcset="{{photo.get_retina_slideshow_url}} 2x"{% endif %} alt="{{photo.title}}" title="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} height="{{photo.slideshowimage_height}}" width="{{photo.slideshowimage_width}}" style="max-width: {{photo.slideshowimage_width}}px" /></div>
<div class="figcaption">
<div class="caption" id="id-{{photo.id}}">
<h3>{{photo.title}} &nbsp;&nbsp;<time datetime="{{photo.exif_date|date:'c'}}" pubdate>{{photo.exif_date|date:"M j, Y"}}</time></h3>