Skip to content

IIIF Presentation API ​

About IIIF Presentation API ​

As taken from https://iiif.io/api/presentation/2.1/#introduction:

(...) Many different styles of viewer can be implemented that consume the information to enable a rich and dynamic experience, consuming content from across collections and hosting institutions.

An object may comprise a series of pages, surfaces or other views; for example the single view of a painting, the two sides of a photograph, four cardinal views of a statue, or the many pages of an edition of a newspaper or book. The primary requirements for the Presentation API are to provide an order for these views, the resources needed to display a representation of the view, and the descriptive information needed to allow the user to understand what is being seen.

Canonical IIIF Presentation API 3.0 URLs ​

All official IIIF APIs (both Image API 3.0 and Presentation API 3.0) live on https://iiif.micr.io:

ResourceCanonical IIIF URL
Single image manifesthttps://iiif.micr.io/{imageId}/manifest.json (or /{imageId}/{lang}/manifest.json, ?lang=xx)
Image marker annotationshttps://iiif.micr.io/{imageId}/annotations (or /{imageId}/{lang}/annotations)
Single marker deeplinkhttps://iiif.micr.io/{imageId}/annotation/{markerSlugOrId}
Image marker tour manifesthttps://iiif.micr.io/{imageId}/{lang}/{tourSlug}/manifest.json
Album / gallery manifesthttps://iiif.micr.io/album/{albumId}/manifest.json
Album canvas annotationshttps://iiif.micr.io/album/{albumId}/canvas/{imageId}/annotations

Every Micrio viewer page on viewer.micr.io also advertises its canonical manifest on iiif.micr.io via <link rel="alternate" type="application/ld+json"> and an HTTP Link header.

Markers & Annotations ​

Published Micrio markers on images, marker tours, and albums are exported as W3C Web Annotations (motivation: "commenting") inside each Canvas's annotations property so they render natively in IIIF viewers such as Mirador, Clover, Universal Viewer, Theseus, and Annona:

  • Spatial targeting: Each marker targets its viewport (#xywh=x,y,w,h pixel fragment), falling back to its clickable area or a small region centered on its (x, y) pin so point-only markers are also selectable and zoomable.
  • Rich media bodies: Marker titles and HTML bodies are emitted as IIIF-safe TextualBody (text/html), paired with structured Image bodies (including ImageService3 for sub-micrio popup images), Sound bodies for audio, Video bodies for video assets, and purpose: "tagging" bodies for marker tags.
  • Languages: Each manifest serves markers in one language (selectable via /{imageId}/{lang}/manifest.json or ?lang=xx, defaulting to the group's default language / en), linking additional languages via seeAlso.
  • Marker tours as structures: Published marker tours are also represented as IIIF Range hierarchies under manifest.structures (including cross-image tours in albums), enabling table-of-contents / guided-tour navigation in supporting IIIF viewers.

Micrio galleries with manifests ​

There are two main ways that Micrio offers to present collections, or annotated single objects. Both have their own type of IIIF Presentation API Manifest.

For bundled image collections, for instance a multi-page book with high-res individual pages, or a simple image gallery, Micrio supports this out of the box.

Micrio offers high performance hi-res image galleries. Simply upload your images in the Micrio Dashboard into a specific folder, and then you can publish this folder to have a public gallery URL.

Consider the following gallery: https://viewer.micr.io/album/FOnVFy, which is a simple gallery of some holiday photos:

The associated manifest in IIIF Presentation API 3.0 format is served at https://iiif.micr.io/album/FOnVFy/manifest.json:

Image storytelling using Marker Tours ​

A different way of guided viewing, or storytelling, is the way Micrio is used to add markers, marker tours and audio to a single image, like a high resolution painting.

To formalize this into a correct IIIF Presentation API manifest is now possible. Most of the content created in the Micrio editor are being output in the open standard.

Consider the Micrio project The Night Watch Experience. In this online interactive documentary, you are taken on several different tours through the painting, enriched with markers that are part of the several available narratives of the painting. A marker in this project typically consists of:

  • A title
  • A textual body
  • An audio file which is the narrated content
  • A specific area of the painting which this marker is about

For example, let's take a look at the Who is Who-tour of the website. This is a collection of markers of the main characters on the painting, together with an intro. All content is available as text or audio voice-over.

nightwatch-who-is-who

This is all a very immersive experience, and not that great for accessible reading or quickly scanning through the content. That's why Micrio can also output any content created in its editor as a simplified HTML page, such as this one of the example tour. This is fully auto-generated, and uses the IIIF Image API specs for the cutouts!

But for an even more semantic content structure, here is the associated IIIF Presentation API-compatible manifest, also fully auto-generated:

There are still some loose ends to this, as not all content from the Micrio editor data is currently available in the manifest. If you have specific needs or wishes in this regard, feel free to contact us.