From fa14d326b0b130c76c68948144f5f7d076e426f6 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 25 Jan 2011 17:32:48 +0000 Subject: [PATCH] NIHVIVO-1895 Show placeholder image for non-person individual when displaying an add link for an image --- .../freemarker/body/individual/individual--foaf-person.ftl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl index 5bec75e9..ed1bee7f 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl @@ -8,7 +8,12 @@
<#-- Image --> - <@p.imageLinks individual propertyGroups namespaces editable "${urls.images}/placeholders/person.thumbnail.jpg" /> + <@p.imageLinks individual=individual + propertyGroups=propertyGroups + namespaces=namespaces + editable=editable + showPlaceholder="always" + placeholder="${urls.images}/placeholders/person.thumbnail.jpg" />