podcast-webseite/templates/blocks/pro_img.html

5 lines
161 B
HTML
Raw Permalink Normal View History

2019-05-25 21:57:41 +02:00
{% set img = record.attachments.images.get(this.image) %}
<a href="{{ img.path }}">
<img class="image" src="{{ img.thumbnail(360, 360)|url }}" />
</a>