Changed name of image property display macro (was erroneously named "imageLinks")
This commit is contained in:
parent
2e06b3d796
commit
ac74c1041a
2 changed files with 7 additions and 7 deletions
|
@ -5,7 +5,7 @@
|
|||
<section id="individual-intro" class="vcard" role="region">
|
||||
<#-- Image -->
|
||||
<#assign individualImage>
|
||||
<@p.imageLinks individual=individual
|
||||
<@p.image individual=individual
|
||||
propertyGroups=propertyGroups
|
||||
namespaces=namespaces
|
||||
editable=editable
|
||||
|
|
|
@ -129,7 +129,7 @@ name will be used as the label. -->
|
|||
|
||||
<#-- Main image links -->
|
||||
<#-- Values for showPlaceholder: "always", "never", "with_add_link" -->
|
||||
<#macro imageLinks individual propertyGroups namespaces editable showPlaceholder="never" placeholder="">
|
||||
<#macro image individual propertyGroups namespaces editable showPlaceholder="never" placeholder="">
|
||||
<#local mainImage = propertyGroups.getPropertyAndRemoveFromList("${namespaces.vitroPublic}mainImage")!>
|
||||
<#local thumbUrl = individual.thumbUrl!>
|
||||
<#-- Don't assume that if the mainImage property is populated, there is a thumbnail image (though that is the general case).
|
||||
|
|
Loading…
Add table
Reference in a new issue