Islandora-Devops / islandora-starter-site

A Drupal site demonstrating Islandora features. Use it as a starting point for customization.
https://sandbox.islandora.ca
GNU General Public License v2.0
4 stars 16 forks source link

Add "Single Page Mirador Viewer" functionality, on par with OpenSeadragon. #147

Closed rosiel closed 2 months ago

rosiel commented 2 months ago

This set of configs (thank you Mark!) sets up a context and view mode so that single paged items can be viewed in Mirador by selecting the "Viewer Override" of "Mirador".

Note that this does NOT import the "Mirador" taxonomy term as that is already done by the Islandora Mirador module in a migration that is tagged islandora and is therefore run during provisioning of ISLE-DC and (as of today) the Site Template.

To test:

With this PR, create an Image or Page object and set its Viewer Override to "Mirador". Add a Service File (either by adding an Original File (Tiff or JP2 as File, or jpg/png/gif as Image) that makes derivatives, or directly). Results: The service file should display in the Mirador viewer on the node object's page.