summaryrefslogtreecommitdiff
path: root/design/templates/lib/img_picwide.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-03-14 11:44:42 -0500
committerluxagraf <sng@luxagraf.net>2018-03-14 11:44:42 -0500
commit65d1c2527efbf20a3e5f0ad21feb49014e5a49b7 (patch)
tree553f9ba624251cb0b8875682dec4b988fed61c3c /design/templates/lib/img_picwide.html
parent2571ed84521e599d836f392fdb577d7d102007f3 (diff)
added credit to cluster images
Diffstat (limited to 'design/templates/lib/img_picwide.html')
-rw-r--r--design/templates/lib/img_picwide.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/lib/img_picwide.html b/design/templates/lib/img_picwide.html
index 10374be..0fb4452 100644
--- a/design/templates/lib/img_picwide.html
+++ b/design/templates/lib/img_picwide.html
@@ -2,6 +2,6 @@
{% if caption or exif or image.photo_credit_source %}
<figure class="picwide">{%endif%}
<a href="{%get_image_by_size image "original"%} " title="view larger image"><img class="picwide" sizes="(max-width: 1280px) 100vw, (min-width: 1281px) 1280px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.name %} {{size.width}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}{% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size.name%}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}" data-jslghtbx="{%get_image_by_size image "original"%}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}></a>
-{% if caption or exif or image.photo_credit_source %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if image.photo_credit_source %}{% if image.photo_credit_url %}<a href="{{image.photo_credit_url}}">{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}</a>{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}</figcaption>
+{% if caption or exif or image.photo_credit_source %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if image.photo_credit_source %} | {% if image.photo_credit_url %}<a href="{{image.photo_credit_url}}">{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}</a>{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}</figcaption>
</figure>
{% endif %}