{# 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.

Public width and height limits

Public-facing images can optionally be restricted in size when requested by unknown, untrusted users.

{% 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 %}

Default format

If you do not specify an image format, {% if settings.IMAGE_FORMAT_DEFAULT %} images will be returned as {{ 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 %}

Default DPI

If you do not specify a value for DPI, {% if settings.IMAGE_DPI_DEFAULT %} images will be set to {{ 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.

Default strip

If you do not specify a value for strip, images will be {% if settings.IMAGE_STRIP_DEFAULT %} stripped of their comments and meta-data. {% else %} returned with their comments and meta-data intact. {% endif %}

Default colorspace

If you do not specify an ICC profile or a value for colorspace, images will be returned {% if settings.IMAGE_COLORSPACE_DEFAULT %} with a colorspace of {{ settings.IMAGE_COLORSPACE_DEFAULT|upper }}. {% else %} with their colorspace unchanged. {% endif %}

Available image formats

The following image formats are available for you to use:

{% for f in formats %} {{ f }}{% if not loop.last %}, {% endif %} {% else %} None {% endfor %}

Available image templates

The following templates are available for you to use:

{% for t in templates %} {{ t }}{% if not loop.last %}, {% endif %} {% else %} None {% endfor %}

Available ICC profiles

The following ICC profiles are available for you to use: {% for colorspace in iccs %}

{{ colorspace }}:  {% if loop.last %}  {% endif %} {% for name in iccs[colorspace] %} {{ name }}{% if not loop.last %}, {% endif %} {% endfor %}

{% else %} None. {% endfor %}