From df3bc581e496412ef8c263dbf1cfe00f184e4e59 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 27 Dec 2024 20:31:02 -0600 Subject: img: cleaned up image parse code and template for clusters --- templates/lib/img_cluster.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/lib/img_cluster.html b/templates/lib/img_cluster.html index 317bf8b..8117298 100644 --- a/templates/lib/img_cluster.html +++ b/templates/lib/img_cluster.html @@ -1,6 +1,13 @@ -{% load get_image_by_size %}{% if caption or exif %}
{%endif%} - - {%if image.alt %}{{image.alt}}{%else%}{{image.title}}{%endif%} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}Scott Gilbertson{%endif%} -{% if caption or exif %}
{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}{% endif %}{% if caption or exif %}
-
+{% load get_image_by_size %}{%if cluster_class != "picwide"%}{%endif%} +{% if caption %}
{%endif%} + + {%if image.alt %}{{image.alt}}{%else%}{{image.title}}{%endif%} by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}Scott Gilbertson{%endif%} + {% if caption %}
{{image.caption|safe}}
{% endif %} + {%if cluster_class != "picwide"%}
{%endif%} -- cgit v1.2.3-70-g09d2