webseite/templates/blocks/pro_img.html
2019-02-12 17:45:44 +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>