{% extends "admin_base.html" %} {% block copyright %} {% endblock %} {% set body_id = 'template_list' %} {% set page_heading = 'Image templates' %} {% block body %} {{ super() }}
{{ templates|length }} template{{ templates|length|pluralize }} {% if is_permitted(SystemPermission.PERMIT_SUPER_USER) %} (add a new template) {% endif %}

An image template is a group of image processing options, saved together under a single name. You can use templates to avoid repeating the same set of image options, to make image URLs simpler, or to define a standard set of image options in a central place. If an image is requested without a template, the system default template is automatically applied.

{% set row_class = cycler('even', 'odd') %} {% for template in templates %} {% set edit_url = url_for('admin.template_edit', template_id=template.id, onClose='backrefresh') %} {% endfor %}
Name Description Action
{{ template.name }} {{ template.description }} {% if is_permitted(SystemPermission.PERMIT_SUPER_USER) %} {% if template.name|lower != system_template_value|lower %}
(delete)
{% endif %} {% endif %}

System default template

For image requests that do not specify a template, default image processing values will be taken from this template:
{% if is_permitted(SystemPermission.PERMIT_SUPER_USER) %}
 
{% else %}
  The default template can be changed an administrator.
{% endif %}
{% endblock %}