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