diff options
author | luxagraf <sng@luxagraf.net> | 2016-01-02 22:44:19 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-01-02 22:44:19 -0500 |
commit | 2d5330c638f2413610b09f2b853a6e5320d103d9 (patch) | |
tree | ac77dc74f6df65be5bc2fdab9d1335bb5202b08a /design/templates/details | |
parent | c5f16254a7af6c783d51823108e7c53d87e0b377 (diff) |
added link to download original image and fixed a spacing bug in photo
dateline
Diffstat (limited to 'design/templates/details')
-rw-r--r-- | design/templates/details/photo_gallery.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/details/photo_gallery.html b/design/templates/details/photo_gallery.html index d34f4e4..73b1d25 100644 --- a/design/templates/details/photo_gallery.html +++ b/design/templates/details/photo_gallery.html @@ -28,11 +28,11 @@ <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> <figure class="fig"> - <img sizes="(max-width: 960px) 100vw" + <a href="{% get_image_size photo "original" %}"><img sizes="(max-width: 960px) 100vw" srcset="{% get_image_size photo "small" %} 720w, {% get_image_size photo "medium" %} 1140w, {% get_image_size photo "large" %} 2280w," - src="{% get_image_size photo "medium" %}" alt="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} > + src="{% get_image_size photo "medium" %}" alt="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} ></a> <figcaption class="figcaption"> <div class="caption" id="id-{{photo.id}}"> <h3 class="figcaption--title">{{photo.title}}</h3> |