This extension creates an OpenSeaDragon viewer based on IIIF resources, either images[1] or manifests[2]. It is an example of a special page that can be added to the pages.json file.
For this extension to work the class variable needs to be set to openseadragon and the file variable needs to be a URL to a live IIIF mainifest or the path to a simple text list of either IIIF manifests or individual info.json URLs for IIIF images, as shown below.
The details included in the content and content right variable will be presented as previously described, however the data included in the named file, in this case openseadragon_list.txt will be processed and displayed in the openseadragon viewer. Please note that a full resolvable URL is required when a single IIIF manifest is used, but a simple filename can be used to reference a local file.
{
"parent": "extensions",
"class": "openseadragon",
"file": "openseadragon_list.txt",
"title": "Simple Site - The <b>OpenSeadragonViewer (IIIF) Extension</b><i></i>",
"content": "<p>This extension creates an [OpenSeaDragon|https://openseadragon.github.io/] viewer based on [IIIF|https://iiif.io] resources, either images[@@For more information about how direct image URLs are constructed see:https://iiif.io/api/image/3.0/#51-image-information-request] or manifests[@@IIIF manifests are simply a structured list of web based images resources that can be viewed in a IIIF compliant viewer, for more details see https://iiif.io/api/presentation/3.0/#52-manifest]. It is an example of a special page that can be added to the [pages.json|pages.json.html] file.</p>\r\n\r\n<h3>The Example</h3>\r\n[##]\r\n<br/>\r\n<h3>Summary</h3>\r\n<div class=\"alert alert-info\" role=\"alert\"><h4 class=\"alert-heading\">Extension Variables</h4><p>For this extension to work the <b>class</b> variable needs to be set to <b>openseadragon</b> and the <b>file</b> variable needs to be a URL to a live IIIF mainifest or the path to a simple text list of either IIIF manifests or individual <b>info.json</b> URLs for IIIF images, as shown below.</p></div>\r\n\r\n<p>The details included in the <b>content</b> and <b>content right</b> variable will be presented as [previously described|pages.json.html], however the data included in the named file, in this case <b>openseadragon_list.txt</b> will be processed and displayed in the openseadragon viewer. <b>Please note that a full resolvable URL is required when a single IIIF manifest is used, but a simple filename can be used to reference a local file</b>.</p>",
"content right": "",
"copy": false,
"displayName": "OpenSeadragon Viewer",
"aliases": "OpenSeadragon Viewer",
"displaycode": true
}
https://ids.lib.harvard.edu/ids/iiif/47174896/info.json
https://data.ng-london.org.uk/0F6J-0001-0000-0000.iiif
https://media.nga.gov/public/manifests/nga_highlights.json
https://images.britishart.yale.edu/iiif/2e789b5b-3172-4540-bd73-0d3c7c845389/info.json