This endpoint is available at /iiif/2.
This endpoint can be enabled or disabled using the endpoint.iiif.2.enabled
configuration key.
Version 2.1.1 of this API is implemented. Compliance level is dynamically computed and declared on a per-processor basis. Most processors are "Level 2"-compliant.
sizes
endpoint.iiif.min_size
. (To restrict access to only these sizes, use the endpoint.iiif.2.restrict_to_sizes
configuration option.)tiles
width
and height
are a multiple of the native tile dimensions no smaller than the value of the endpoint.iiif.min_tile_size
configuration key.endpoint.iiif.min_tile_size
configuration key.profile.formats
profile.maxArea
max_pixels
and max_scale
.profile.qualities
profile.supports
attribution
, service
, etc.)Custom keys can be added to the information JSON response, such as to declare service profiles or, beginning in Image API 2.1, an optional rights statement and/or logo. The delegate script needs to implement the extra_iiif2_information_response_keys()
method. An example implementation follows:
This endpoint is available at /iiif/1.
This endpoint can be enabled or disabled using the endpoint.iiif.1.enabled
configuration key.
Version 1.1 of this API is implemented. Compliance level is dynamically computed and declared on a per-processor basis. Most processors are "Level 2"-compliant.
tile_width
and tile_height
endpoint.iiif.min_tile_size
configuration key, or the full image dimensions.endpoint.iiif.min_tile_size
.formats
qualities
profile
All endpoints support these additional features:
The Content-Disposition
HTTP response header tells clients whether to attempt to display a response entity inline or download it, perhaps accompanied by a user prompt. The endpoint.iiif.content_disposition
configuration key can be used to set a value for this header in all responses. In addition, a response-content-disposition
query argument can be used to suggest a value to override that on a per-request basis. This is useful for "linking to a download." For example, the following URL will cause web browsers to download the image identified by some-identifier
and save it as image.jpg:
http://my-image-server/iiif/2/some-identifier/full/full/0/default.jpg ?response-content-disposition=attachment%3B%20filename%3Dimage.jpg
The value of the query argument must be URL-encoded. In this case, the decoded form looks like: attachment; filename=image.jpg
.
The caches can be bypassed on a per-request basis by supplying a cache=false
URL query argument. This bypasses the source, derivative, and info caches, and also omits any Cache-Control
response header that may be configured, on a per-request basis. This is useful for testing and health checks.
Various processors support various additional query arguments that the IIIF Image API cannot support in the path portion of an image request URL. These are detailed in the processor documentation.