summaryrefslogtreecommitdiff
path: root/design/templates/lib/friends_featured_img.html
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2020-12-21 14:53:35 -0500
committerlxf <sng@luxagraf.net>2020-12-21 14:53:35 -0500
commited759fe4b9aa87ca7d65d06d6f20a97e7389b186 (patch)
tree2f38be40f08c7269a158ce0c596715e940fd6f05 /design/templates/lib/friends_featured_img.html
parent70e09b7c5264da8f8f845a374028f6f02c1cef05 (diff)
fixed email featured image template
Diffstat (limited to 'design/templates/lib/friends_featured_img.html')
-rw-r--r--design/templates/lib/friends_featured_img.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/design/templates/lib/friends_featured_img.html b/design/templates/lib/friends_featured_img.html
index 1d9522a..a3cc787 100644
--- a/design/templates/lib/friends_featured_img.html
+++ b/design/templates/lib/friends_featured_img.html
@@ -1,5 +1,6 @@
+{% load get_image_by_size %}
<img sizes="(max-width: 728px) 100vw, (min-width: 729px) 520px"
- srcset="https://luxagraf.net{{image.get_featured_jrnl}} 520w, https://luxagraf.net{{image.get_picwide_sm}} 720w"
- src="https://luxagraf.net{{image.get_picwide_sm}}"
+ srcset="https://luxagraf.net{% get_image_by_size image 'featured_jrnl'%} 520w, https://luxagraf.net{% get_image_by_size image 'picwide_sm'%} 720w"
+ src="https://luxagraf.net{% get_image_by_size image 'picwide_sm'%}"
alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}"
style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;max-width:94%; border:40px solid #f4f2f0;" />