Commit 5ef05612 authored by Luko van der Maas's avatar Luko van der Maas

Merge branch 'fix/merchandise-thumbnails' into 'master'

Thumbnail the merchandise images

See merge request !1178
parents 3579225e d6b3b1fc
{% extends 'base.html' %}
{% load staticfiles %}
{% load i18n %}
{% load staticfiles i18n thumbnail %}
{% block title %}{% trans "Merchandise" %} — {{ block.super }}{% endblock %}
{% block opengraph_title %}{% trans "Merchandise" %} — {{ block.super }}{% endblock %}
......@@ -17,7 +16,7 @@
<div class="row">
<div class="col-12 col-md-3">
<img src="{{ item.image.url }}" alt="{{ item.name }}" id="image">
<img src="{% thumbnail item.image THUMBNAIL_SIZE_MEDIUM fit=False %}" id="image" alt="{{ item.name }}" />
</div>
<div class="col-12 col-md-9 pt-4 pt-md-0">
<h2>{{ item.name }}</h2>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment