Code source wiki de PhotosTimothée
Version 3.1 par Paul Libbrecht le 2018/11/08 21:58
Afficher les derniers auteurs
author | version | line-number | content |
---|---|---|---|
1 | Ici, les photos de Timothée sont uploadées. | ||
2 | |||
3 | |||
4 | prévisualisation: | ||
5 | |||
6 | {{velocity}} | ||
7 | #set($d=$xwiki.getDocument('Pionniers_Camp_2018.WebHome')) | ||
8 | #set ($attachments = $d.attachmentList) | ||
9 | #if ($attachments.size() > 0) | ||
10 | {{gallery}} | ||
11 | #foreach($attachment in $attachments) | ||
12 | #if($attachment.isImage()) | ||
13 | [[image:${d}@$attachment.filename||width=1024]] | ||
14 | #end | ||
15 | #end | ||
16 | {{/gallery}} | ||
17 | #end | ||
18 | {{/velocity}} |