... |
... |
@@ -93,6 +93,16 @@ |
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 |
+ #if($attachment.filename.endsWith(".jpg") || $attachment.filename.endsWith(".png") || $attachment.filename.endsWith(".webp")) |
|
101 |
+ image:$doc.fullName@$escapetool.url($attachment.filename) |
|
102 |
+ #end |
|
103 |
+#end |
|
104 |
+{{/gallery}} |
|
105 |
+{{/velocity}} |
97 |
97 |
|
|
107 |
+ |
98 |
98 |
{{putFootnotes/}} |