webseite/templates/blocks/image.html
L3D 9a8f01266d Add flowblock for images
Former-commit-id: b7d8a1e9c747d1b6794905f11534215cc034c03f [formerly a5ba32508b2443e151b2a6eeb6a8146c68e31969] [formerly 1d264ce107f18188eca33f09d3e4cab3ec57de77 [formerly 57b7f8d59b9f6d8cff17389a8639d921d14da555]]
Former-commit-id: 28ff10f6c80e469e25a122428ff65346ce705d85 [formerly 0754f0ea986eb131959f1fbbfdb9b999653ba8e0]
Former-commit-id: 843a7eb673e9cd4dd0d0005652752ae259a8461c
2018-11-30 01:23:15 +01:00

4 lines
161 B
HTML

{% set img = record.attachments.images.get(this.image) %}
<a href="{{ img.path }}">
<img class="image" src="{{ img.thumbnail(360, 360)|url }}" />
</a>