NIHVIVO-3704 Create a Freemarker method called placeholderImageUrl(individualUri). Use that instead of hard-coding the placeholder image URLs in templates, or passing the placeholder image along from one page to the next via the controller. Remove the "extraParams" parameter to several Freemarker macros, since this is the only purpose it was used for.

This commit is contained in:
j2blake 2012-03-21 17:29:15 +00:00
parent af8fc9e0a9
commit 2c585755d0
6 changed files with 97 additions and 62 deletions

View file

@ -9,8 +9,7 @@
propertyGroups=propertyGroups
namespaces=namespaces
editable=editable
showPlaceholder="with_add_link"
placeholder="${urls.images}/placeholders/thumbnail.jpg" />
showPlaceholder="with_add_link" />
</#assign>
<#if ( individualImage?contains('<img class="individual-photo"') )>