diff options
Diffstat (limited to 'templates/blocks/picture.html')
-rw-r--r-- | templates/blocks/picture.html | 2 |
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 }}"> |