Wiki source code of Ticknock
Version 2.1 by David De La Harpe Golden on 2021/12/24 22:30
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #set($alist = $collectiontool.sort($doc.getAttachmentList(),["filename"])) | ||
3 | #foreach($attach in $alist) | ||
4 | (% class="thumb" data-imgnum="$foreach.index" %)[[[[image:$attach.filename||height="48"]]>>attach:$attach.filename]] #end | ||
5 | |||
6 | |||
7 | {{gallery width="100%" height="100%"}} | ||
8 | #foreach($attach in $alist) | ||
9 | [[image:$attach.filename]] | ||
10 | #end | ||
11 | {{/gallery}} | ||
12 | |||
13 | |||
14 | #set($discard = $xwiki.jsx.use("Gallery.Ext.ThumbWiring.WebHome")) | ||
15 | |||
16 | {{/velocity}} |