DH IIIF Viewer is a web application designed to display images using the IIIF (International Image Interoperability Framework). It integrates the Mirador Viewer, allowing users to load and view images from a specified Manifest URL.
This project provides a simple viewer for displaying images based on the IIIF standard. Users can input a Manifest URL, and the images will be displayed through the Mirador Viewer.
- Load IIIF images from a valid Manifest URL. Some might not open them because of XSS.
- Display a message when the image is successfully shown
- Provide a sample Manifest URL
- Display an error message if the image cannot be loaded
- Auto-fade out the message display area after 10 seconds
To install this project locally, follow these steps:
-
Download all files into one directory.
-
Place the directory in anywhere on your local computer.
-
Open
index.html
in your browser.
- Enter the Manifest URL in the form and click the "Load Manifest" button.
- The specified Manifest URL will be loaded, and the image will be displayed in the Mirador Viewer.
- To display a sample Manifest, click the "Show me a sample" button.
- Use the reset button to clear the form.
index.html
: Main HTML filestyle.css
: Stylesheetscript_iiif.js
: JavaScript filemirador.min.js
: JavaScript file for Mirador Viewerimage_tools.js
: Optional image tools plugin
mirador.min.js
is part of the Mirador Viewer project. Mirador is an open-source project licensed under the Apache License 2.0. For more information about Mirador, visit the official website.
image_tools.js
is used from the Mirador Image Tools project. This plugin is also licensed under the Apache License 2.0. For more details, check the GitHub repository.
This project is licensed under the MIT License. See the LICENSE
file for details.