summaryrefslogtreecommitdiff
path: root/design/templates/lib
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-12-02 13:52:17 -0500
committerluxagraf <sng@luxagraf.net>2020-12-02 13:52:17 -0500
commit14487689c2f968346fc4ca27d0d80637ec8422ba (patch)
tree488a09625a2e357dc0b6c3945ccdeb781c7d75d2 /design/templates/lib
parent8b2b5dec69a1d5d3c9e19c5eda48d1d6f706f9b4 (diff)
fixed a bug in image archive template
Diffstat (limited to 'design/templates/lib')
-rw-r--r--design/templates/lib/img_archive.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/lib/img_archive.html b/design/templates/lib/img_archive.html
index 2ca1e93..561f48c 100644
--- a/design/templates/lib/img_archive.html
+++ b/design/templates/lib/img_archive.html
@@ -1,6 +1,6 @@
{% load get_image_by_size %}
<img sizes="(max-width: 728px) 100vw, (min-width: 729px) 520px"
- srcset="{%get_image_by_size image 'featured_jrnl'%} 520w, {%get_image_by_size image 'picwide_sm'%} 720w"
- src="{{image.get_featured_jrnl}}"
+ srcset="{%get_image_by_size image 'featured_jrnl'%} 520w, {%get_image_by_size image 'picwide-sm'%} 720w"
+ src="{%get_image_by_size image 'featured_jrnl'%}"
alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}"
{% if not nolightbox %}data-jslghtbx="{{image.get_image_by_size}}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}{%endif%}>