1 {% extends "catalogue/base.html" %}
3 {% load url from future %}
4 {% load thumbnail pagination_tags %}
8 <h1>{% trans "Cover images" %}</h1>
11 <a href="{% url 'cover_add_image' %}">{% trans "Add new" %}</a>
15 {% autopaginate object_list 100 %}
16 {% for image in object_list %}
17 <a href="{{ image.get_absolute_url }}">
19 <img style="height: 200px"
20 src="{% thumbnail image.file "x200" as thumb %}
24 {% endthumbnail %}" />