diff options
author | luxagraf <sng@luxagraf.net> | 2013-09-12 19:03:21 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2013-09-12 19:03:21 +0000 |
commit | 3a0e7dde40a08cd8e31652ea6c4094ce70ec36bb (patch) | |
tree | a449773719ad9a7fc9bb70c37b857f1e66ee83ab /design/templates/details/photo_galleries.html | |
parent | 1bd92fd5abc212434cf8f41bb90ded3bf3795849 (diff) |
converted photo scrapers to use flickr_api and generated x2 higher res images for retina screens
Diffstat (limited to 'design/templates/details/photo_galleries.html')
-rw-r--r-- | design/templates/details/photo_galleries.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/photo_galleries.html b/design/templates/details/photo_galleries.html index e61c9b7..33550f7 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">∞ {{forloop.counter|number_to_word}} ∞</a></h6> - <div class="fig"><img src="{{photo.get_local_slideshow_url}}" 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_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="figcaption"> <div class="caption" id="id-{{photo.id}}"> <h3>{{photo.title}} <time datetime="{{photo.exif_date|date:'c'}}" pubdate>{{photo.exif_date|date:"M j, Y"}}</time></h3> |