Changes for page Kilmashogue
Last modified by David De La Harpe Golden on 2020/08/09 18:36
From version
28.1


edited by Administrator
on 2018/07/25 07:05
on 2018/07/25 07:05
Change comment:
There is no comment for this version
To version
34.1

edited by David De La Harpe Golden
on 2020/08/09 18:36
on 2020/08/09 18:36
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.david - Content
-
... ... @@ -1,9 +2,16 @@ 1 - 2 2 {{velocity}} 3 -#set($docref = "Gallery.2018.07.Kilmashogue.WebHome") 4 -#set($document = $xwiki.getDocument($docref)) 5 -#foreach($attach in $document.getAttachmentList()) 6 -#set($attachName = $attach.filename)[[[[image:$docref@$attachName||height="48"]]>>attach:$docref@$attachName]]#end 2 +#set($alist = $sorttool.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 +#set($discard = $xwiki.jsx.use("Gallery.Ext.ThumbWiring.WebHome")) 14 + 7 7 {{/velocity}} 8 8 9 -{{attachmentGallery/}}