{# An HTML fragment that describes the available image templates and ICC profiles, and the default settings in force on this server. Template variables: formats - the list supported image file types templates - the list supported image template names iccs - the list supported ICC profile names settings - the Flask application config #}
The following settings are in force on your server. Contact your system administrator if you require any of these values to be changed.
{% if not settings.PUBLIC_MAX_IMAGE_WIDTH and not settings.PUBLIC_MAX_IMAGE_HEIGHT %}
Currently no limit is defined, and unknown users can access full versions of public-facing images.
{% elif settings.PUBLIC_MAX_IMAGE_WIDTH and settings.PUBLIC_MAX_IMAGE_HEIGHT %}
Currently unknown users will be denied image requests larger than
width {{ settings.PUBLIC_MAX_IMAGE_WIDTH }}
or height {{ settings.PUBLIC_MAX_IMAGE_HEIGHT }}
pixels.
{% elif settings.PUBLIC_MAX_IMAGE_WIDTH %}
Currently unknown users will be denied image requests with a width
greater than {{ settings.PUBLIC_MAX_IMAGE_WIDTH }}
pixels.
{% elif settings.PUBLIC_MAX_IMAGE_HEIGHT %}
Currently unknown users will be denied image requests with a height
greater than {{ settings.PUBLIC_MAX_IMAGE_HEIGHT }}
pixels.
{% endif %}
{% if settings.PUBLIC_MAX_IMAGE_WIDTH or settings.PUBLIC_MAX_IMAGE_HEIGHT %}
This setting is also used to default the image size when an unknown user
requests an image without giving either a width or a height. Note that if
an image template defines a size larger than the limit, the template takes
precedence.
{% endif %}
{{ settings.IMAGE_FORMAT_DEFAULT }}
{% if settings.IMAGE_FORMAT_DEFAULT in ['jpg', 'jpeg', 'pjpg', 'pjpeg', 'png'] %}
with
{% if settings.IMAGE_FORMAT_DEFAULT == 'png' %}compression{% else %}quality{% endif %}
{{ settings.IMAGE_QUALITY_DEFAULT }}
.
{% else %}
.
{% endif %}
{% else %}
images will be returned in their original format.
{% endif %}
{{ settings.IMAGE_DPI_DEFAULT }}
DPI.
{% else %}
images will be returned with their DPI value unchanged.
{% endif %}
PDF files will be converted to images at {{ settings.PDF_BURST_DPI }}
DPI by default.
{{ settings.IMAGE_COLORSPACE_DEFAULT|upper }}
.
{% else %}
with their colorspace unchanged.
{% endif %}
{% for f in formats %}
{{ f }}{% if not loop.last %}, {% endif %}
{% else %}
None
{% endfor %}
{% for t in templates %}
{{ t }}{% if not loop.last %}, {% endif %}
{% else %}
None
{% endfor %}
{{ colorspace }}: {% if loop.last %} {% endif %}
{% for name in iccs[colorspace] %}
{{ name }}{% if not loop.last %}, {% endif %}
{% endfor %}
None.
{% endfor %}