Create your own manifest
Manually build a manifest in a JSON Editor (Method 1)
Now that we have a sample manifest and understand a bit better how it fits together, let's manually make our own manifest with images from the local image server we set up yesterday.
- Hint: an important change will be modifying the "@id" of the service object associated with the image resource. The value of the "@id" should be the path of the image on your image service, without any specific IIIF URL parameters.
Short activity: Using the manifest we just worked on together as a template (and the examples in the Presentation API specification for reference) try to work out which elements you should edit to replace the dummy images from the template with actual images available via the image service we set up yesterday.
Building a manifest with a GUI (Method 2)
For this task, we'll use the very handy Bodleian Manifest Editor, part of the Digital Manuscripts Toolkit developed by Text and Bytes for the Bodleian Library at the Unviersity of Oxford. It is a lightweight, web-based tool to manipulate existing IIIF manifests and create new ones without needing to edit the JSON-LD directly.
To begin, navigate to:
http://iiif.bodleian.ox.ac.uk/manifest-editor/
Alternative instances of the Bodleian Manifest Editor, in case the link above doesn't work for you:
After you've opened the editor interface,
- Click "New Manifest."
Click "Add Canvas" and then click on the empty canvas that appears.
Now we need to add an image to this canvas. Click on the "Canvas Metadata" accordion panel on the right.
- Click "Add Image to Canvas."
We want to use an image we are already hosting, so we select the "From info.json URI" option, and input our info.json URI from our local IIIF server. Then click "Submit URI."
http://127.0.0.1:8182/iiif/2/eddie.jpg/info.json
We should now have an image in our view!
Finally, let's download the manifest, by clicking "Save Manifest" at the top of the page, and "Save."
Great job! You now have created and downloaded a IIIF Presentation API manifest.