discoverygarden/iiif_presentation_api

Generates IIIF Presentation API manifests for Drupal entities.

v2.7.0 2024-11-26 17:48 UTC

This package is auto-updated.

Last update: 2024-11-26 17:48:18 UTC


README

Introduction

Provides serialization to IIIF Presentation API.

Requirements

This module requires the following modules/libraries:

  • Serialization (part of Drupal core)

Installation

Install as usual, see this for further information.

Configuration

Out of the box the module provides minimal implementation and expects other modules to either decorate or provide their own implementation by extending the provided normalizers.

For any content entity that should be exposed the format will need to be configured as documented by Drupal.

There are some environment variables to help integrate with IIIF Image APIs, in particular:

Presently, we indicate level2 compliance for each IIIF Image API endpoint.

As a point of convenience, it is possible to specify the IIIF_IMAGE_V*_SLUG values using base:, as used by Drupal's Url::fromUri(). For example, if you are using a proxy to make a /iiif/2 path for a IIIF-I v2 endpoint, such that your slug would be https://{your hostname}/iiif/2/{identifier}, then you can instead use base:/iiif/2/{identifier} to configure the reference more explicitly relative to the hostname used to access the site.

Troubleshooting/Issues

Having problems or solved one? contact discoverygarden.

Maintainers/Sponsors

Current maintainers:

Sponsor:

Development

If you would like to contribute to this module create an issue, pull request and or contact discoverygarden.

License

GPLv3