Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.31 KB

readme.md

File metadata and controls

49 lines (33 loc) · 1.31 KB

Mirador IIIF LDN Plugin

Use this plugin to enable Mirador to access an LDN inbox referenced by a IIIF manifest, allowing end users to bring in end content as desired.

Installation

Simply add the plugin files below your mirador initialization like so:

myMiradorInstance = Mirador({
         "id": "viewer",
         "layout": "1x1",
         "data": [...]
       });

add the plugin below

<link rel="stylesheet" type="text/css" href="ldn-plugin.css">
<script src="ldn-plugin.js"/>

The default name for instantiated instance is myMiradorInstance. If you want to use another name go to ldn-plugin.js and pass the name of your Mirador instance to Ldn.init(yourInstanceNameHere) function. See below:

$(document).ready(function(){
  Ldn.init(myMiradorInstance);
});

Example

example-gif

References

Contributors

Jeffrey C. Witt (Loyola University Maryland) Régis Robineau (Biblissima)