From 65d1c2527efbf20a3e5f0ad21feb49014e5a49b7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 14 Mar 2018 11:44:42 -0500 Subject: added credit to cluster images --- design/templates/lib/img_cluster.html | 2 +- design/templates/lib/img_picwide.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'design') diff --git a/design/templates/lib/img_cluster.html b/design/templates/lib/img_cluster.html index a7921eb..5e03042 100644 --- a/design/templates/lib/img_cluster.html +++ b/design/templates/lib/img_cluster.html @@ -3,6 +3,6 @@
{%endif%} {%if image.alt %}{{image.alt}}{%else%}{{image.title}}{%endif%} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%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 %}
+{% 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 image.photo_credit_url %}{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}
{% endif %} diff --git a/design/templates/lib/img_picwide.html b/design/templates/lib/img_picwide.html index 10374be..0fb4452 100644 --- a/design/templates/lib/img_picwide.html +++ b/design/templates/lib/img_picwide.html @@ -2,6 +2,6 @@ {% if caption or exif or image.photo_credit_source %}
{%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 image.photo_credit_url %}{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}
+{% 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 image.photo_credit_url %}{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}
{% endif %} -- cgit v1.2.3