summaryrefslogtreecommitdiff
path: root/templates/blocks/picture.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blocks/picture.html')
-rw-r--r--templates/blocks/picture.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/blocks/picture.html b/templates/blocks/picture.html
new file mode 100644
index 0000000..a75eb3e
--- /dev/null
+++ b/templates/blocks/picture.html
@@ -0,0 +1,2 @@
+{% set img = record.attachments.images.get(this.url) %}
+<img id="{{ this.url|replace('.','') }}" class="bigimage" src="{{img.thumbnail(800)|url}}" alt="{{ this.caption }}">