webseite/templates/blocks/pro_img.html

5 lines
161 B
HTML
Raw Normal View History

2019-02-12 17:45:44 +01:00
{% set img = record.attachments.images.get(this.image) %}
<a href="{{ img.path }}">
<img class="image" src="{{ img.thumbnail(360, 360)|url }}" />
</a>