diff options
author | lxf <sng@luxagraf.net> | 2025-05-31 11:40:05 -0500 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2025-05-31 11:40:05 -0500 |
commit | d31e91f543ccd8d2282c3c365ed5350b0e98c43f (patch) | |
tree | 5f7181754612e4d54b495d9a815f9a361fffef59 /templates/lib/img_cluster.html | |
parent | e2b3a335e3984931f1343cb6be8db53a8a1304ab (diff) |
added vanilla js slideshow to jrnl template for smaller photos
Diffstat (limited to 'templates/lib/img_cluster.html')
-rw-r--r-- | templates/lib/img_cluster.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/lib/img_cluster.html b/templates/lib/img_cluster.html index 8117298..e405db1 100644 --- a/templates/lib/img_cluster.html +++ b/templates/lib/img_cluster.html @@ -1,6 +1,6 @@ {% load get_image_by_size %}{%if cluster_class != "picwide"%}<span class="{{cluster_class}}">{%endif%} {% if caption %}<figure {%if cluster_class != "picwide"%}class="{{cluster_class}}"{%endif%}>{%endif%} - <a href="{%get_image_by_size image "original"%}" title="view larger image"> + <a data-fslightbox href="{%get_image_by_size image "original"%}" title="view larger image"> <img {%if cluster_class == "picwide"%} class="picwide" sizes="(max-width: 1439px) 100vw, (min-width: 1440px) 1440px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug %} {{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.slug%}"{%endif%}{%endfor%} |