Changes for page Gallery (Part 2)

Last modified by David De La Harpe Golden on 2024/11/27 05:15

From version 2.1
edited by David De La Harpe Golden
on 2022/07/16 22:13
Change comment: There is no comment for this version
To version 3.1
edited by David De La Harpe Golden
on 2022/07/16 22:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,17 @@
1 -Earlier years get moved here from [[Gallery]]
1 +Earlier years moved here from [[Gallery]]
2 2  
3 +{{velocity}}
4 +#macro(thumbs $linkto $docref)
5 +#set($document = $xwiki.getDocument($docref))
6 +#foreach($attach in $collectiontool.sort($document.getAttachmentList(),["filename"]))
7 + #if($foreach.count > 3)
8 + #break
9 + #end
10 + #set($attachName = $attach.filename)[[[[image:$docref@$attachName||height="48"]]>>$linkto]] #end
11 +#end
12 +{{/velocity}}
3 3  
14 +
4 4  = [[2019>>Gallery.2019.WebHome]] =
5 5  
6 6  {{velocity}}