Changes for page Gallery

Last modified by David De La Harpe Golden on 2025/01/06 16:14

From version 140.1
edited by David De La Harpe Golden
on 2021/01/17 00:29
Change comment: There is no comment for this version
To version 141.1
edited by David De La Harpe Golden
on 2021/01/17 19:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4  #macro(thumbs $linkto $docref)
5 5  #set($document = $xwiki.getDocument($docref))
6 6  #foreach($attach in $sorttool.sort($document.getAttachmentList(),["filename"]))
7 - #if($velocityCount > 3)
7 + #if($foreach.count > 3)
8 8   #break
9 9   #end
10 10   #set($attachName = $attach.filename)[[[[image:$docref@$attachName||height="48"]]>>$linkto]] #end