From 471498bafcfa2e7d2d00e0672b83c7ad41edb557 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 13 Apr 2019 15:34:16 -0500 Subject: added photo credit to column width images --- design/templates/lib/img_picfull.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/design/templates/lib/img_picfull.html b/design/templates/lib/img_picfull.html index 0a1ffca..4a8c36d 100644 --- a/design/templates/lib/img_picfull.html +++ b/design/templates/lib/img_picfull.html @@ -1,9 +1,10 @@ {% 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