diff options
| author | joak <joak@nospace.at> | 2020-08-17 11:55:24 +0200 |
|---|---|---|
| committer | joak <joak@nospace.at> | 2020-08-17 11:55:24 +0200 |
| commit | f60e9ccd5b046101903a79bf6afa0cf87fdd956c (patch) | |
| tree | db29d0f55a1bc3347b63341551fa05308554101d /templates/blocks/picture.html | |
init
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 }}"> |
