From 829cf6908dff98915c9c56a8cfa191f25c41bd98 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 19 Jun 2019 09:48:41 -0500 Subject: tweaked pic960 template --- design/templates/lib/img_pic960.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'design/templates/lib') diff --git a/design/templates/lib/img_pic960.html b/design/templates/lib/img_pic960.html index 544e42e..faee439 100644 --- a/design/templates/lib/img_pic960.html +++ b/design/templates/lib/img_pic960.html @@ -1,9 +1,9 @@ {% load get_image_by_size %} -{% load get_image_width %} -{% if caption %} -
{%endif%} -{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} -{% if caption %}
{{image.caption|safe}}
-
+{% if caption or exif or image.photo_credit_source %} +{%else%}{%if not is_cluster %}
{%endif%}{%endif%} + + {{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} + +{% if caption or exif or image.photo_credit_source %}
{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}
+{%else%}{%if not is_cluster %}
{%endif%} {% endif %} -- cgit v1.2.3