summaryrefslogtreecommitdiff
path: root/templates/lib/friends_featured_img.html
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /templates/lib/friends_featured_img.html
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'templates/lib/friends_featured_img.html')
-rw-r--r--templates/lib/friends_featured_img.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/lib/friends_featured_img.html b/templates/lib/friends_featured_img.html
new file mode 100644
index 0000000..999c780
--- /dev/null
+++ b/templates/lib/friends_featured_img.html
@@ -0,0 +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="{% 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;" />