Changes for page Cruagh
Last modified by David De La Harpe Golden on 2020/08/09 18:30
From version 14.1
edited by Administrator
on 2018/07/25 08:36
on 2018/07/25 08:36
Change comment:
There is no comment for this version
To version 16.1
edited by David De La Harpe Golden
on 2020/08/09 18:30
on 2020/08/09 18:30
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.david - Content
-
... ... @@ -1,14 +1,16 @@ 1 1 {{velocity}} 2 -# foreach($attachin$doc.getAttachmentList())3 -# set($docName=$doc.fullName)4 -[[[[image:$attach.filename||height="48"]]>>attach:$attach.filename]] #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 5 6 6 7 -{{gallery width="" height=""}} 8 -#foreach($attach in $ doc.getAttachmentList())7 +{{gallery width="100%" height="100%"}} 8 +#foreach($attach in $alist) 9 9 [[image:$attach.filename]] 10 10 #end 11 11 {{/gallery}} 12 12 13 +#set($discard = $xwiki.jsx.use("Gallery.Ext.ThumbWiring.WebHome")) 13 13 14 14 {{/velocity}} 16 +