Freemarker function for getting the URL of the image attachments of an item in an object list.
git-svn-id: https://svn.libreccm.org/ccm/trunk@6020 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
44f7d5bee7
commit
b5a0bb8d58
|
|
@ -33,6 +33,10 @@
|
|||
<#return item["./nav:attribute[@name='imageAttachments.image.id'][1]"]>
|
||||
</#function>
|
||||
|
||||
<#function getImageUrl item>
|
||||
<#return dispatcherPrefix + '/cms-service/stream/image/?image_id=' + getImageId(item)>
|
||||
</#function>
|
||||
|
||||
<#function getImageCaption item>
|
||||
<#return item["./nav:attribute[@name='imageAttachments.image.caption'][1]"].@@text>
|
||||
</#function>
|
||||
|
|
|
|||
Loading…
Reference in New Issue