... |
... |
@@ -93,6 +93,17 @@ |
93 |
93 |
|
94 |
94 |
== Images and Videos == |
95 |
95 |
|
96 |
|
-{{attachmentGalleryPicker/}} |
|
96 |
+{{velocity}} |
|
97 |
+#set($attachments = $doc.getAttachmentList()) |
|
98 |
+{{gallery}} |
|
99 |
+#foreach($attachment in $attachments) |
|
100 |
+ #set($filename = $escapetool.url($attachment.filename)) |
|
101 |
+ #if($filename.endsWith(".jpg") || $filename.endsWith(".png") || $filename.endsWith(".webp")) |
|
102 |
+ image:$doc.fullName.WebHome@$filename |
|
103 |
+ #end |
|
104 |
+#end |
|
105 |
+{{/gallery}} |
|
106 |
+{{/velocity}} |
97 |
97 |
|
|
108 |
+ |
98 |
98 |
{{putFootnotes/}} |