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:
parent
af8fc9e0a9
commit
2c585755d0
6 changed files with 97 additions and 62 deletions
|
@ -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"') )>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue