AHG Extensions for AtoM

Home / Plugins / IIIF

IIIF

IIIF viewer integration with Mirador and OpenSeadragon support

Part of the IIIF & Advanced Viewing capability. Watch the walkthrough.

CategoryViewing
PackageahgIiifPlugin
Version1.2.3
StatusPackaged download with its own installer. Clean-database install not yet verified.
RequiresCore
Works with3D Model Viewer
External servicesCan use, when installed: Cantaloupe IIIF image server, ExifTool, AHG AI gateway, Tesseract OCR, FFmpeg, LibreOffice
LicenceAGPL-3.0-or-later
InstallPackaged download with its own installer: see the downloads page

What it is for

Show digitised images, books and maps the way researchers expect: deep zoom, page turning and side-by-side comparison, from the record itself. Every digital object gets a IIIF Presentation 3 manifest, so the same images open in any IIIF viewer elsewhere.

  • Two viewers on the record page: Mirador for comparing and annotating, OpenSeadragon for fast deep zoom.
  • Share a view: zoom to a detail and copy a link that opens the same image at the same place.
  • Collections: group images from different records into a curated set with its own manifest.
  • A validation dashboard for checking manifests, and an administrators' list of shared views.

Mirador on a record page

Sharing a zoomed view

A IIIF collection

Training guide: Discovery, part 1 - IIIF images.

Requirements

AtoM              2.9 or 2.10
PHP               8.1 or later
MySQL             8.0
ahgRuntimePlugin  2.14.1 or later, installed separately

Optional:

An IIIF image server   deep zoom and tiling. Cantaloupe is what we run.
                       Manifests, viewers and OCR export work without one.
ffmpeg, ffprobe        audio and video
exiftool               embedded metadata
tesseract              OCR

Setup guides, deliberately kept out of the download because your web server and image server are yours:

Known limits

Stated because a gap you know about is cheaper than one you discover:

  • rendering - the PDF or download alternative - is the last unemitted Presentation 3 property
  • Nothing checks at runtime that an image server is reachable, so a misconfigured Cantaloupe is indistinguishable from none: manifests build, viewers load, images are flat, and nothing says why
  • A conditional property that does not appear on a record and one that cannot be produced look identical from outside
  • The right-to-left branch is unexercised by any material we hold

Licence: AGPL-3.0-or-later.

Installation

Download the bundle and the runtime from the downloads page, then follow the bundle's INSTALL.md. In short, from the AtoM root, after a backup and on a staging copy first:

unzip ahgRuntimePlugin-<version>.zip -d plugins/
unzip ahgIiifPlugin-<version>.zip -d plugins/
php plugins/ahgIiifPlugin/bin/install-plugin-schema.php \
    --database=<database> --user=<user> --password=<password>

Then enable it in Admin > Plugins, clear the cache and reload PHP.

Try it

See it on the live demo (sample data, no sign-in): a photograph in the IIIF viewer.

Source and README on GitHub · Questions: support@theahg.co.za or WhatsApp