summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2013-09-13 00:52:33 +0000
committerluxagraf <sng@luxagraf.net>2013-09-13 00:52:33 +0000
commit79b3268e10706e1ea14d7ba1275a9744ce51cd3a (patch)
tree7b4137bcbaa90106becac0b8cba408838e9ba560 /design
parent3a0e7dde40a08cd8e31652ea6c4094ce70ec36bb (diff)
fixed some bugs related to larger images and new flickr scripts
Diffstat (limited to 'design')
-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>