Tips and Tricks
More on using your own images
Commercial Hosting: http://www.iiifhosting.com/
Using Mirador-Desktop
WARNING: You will not be able to paste the URL for your manifest into Desktop Mirador, although you can type it in manually.
Setting up an image server (advanced)
Set up one of the many available image servers (we’ll be using Loris below)
Install Docker (Community Edition):
All platforms: https://docs.docker.com/install/
Quicker method for Mac: install via Homebrew
Install Homebrew: https://brew.sh
In Terminal:
$ brew tap caskroom/cask
$ brew cask install docker
Working on the command line:
$ docker -v [which version are you running?]
$ docker images [which images do you have?]
$ docker pull bdlss/loris-grok-docker
$ docker run -p 5004:5004 -v/{path to your images}:/usr/local/share/images bdlss/loris-grok-docker
[it’s now running - but you can’t see anything yet]
Test: In browser, go to http://localhost:5004/{name of one of your images}/info.json
Want to see an image?
http://localhost:5004/{name of your image}/full/full/0/default.jpg
Auxiliary tools
Loris Image server. In github: https://github.com/loris-imageserver/loris
Docker: https://www.docker.com/
Community edition: https://www.docker.com/get-docker
Biblissima (Gallica and BVMM) patterns for iiif manifests and individual images can be found here: http://doc.biblissima-condorcet.fr/entrepots-iiif-biblissima
--N.B., https is now required [not http] for manifests and images
Online json reader
Copy a manifest into this site http://jsonviewer.stack.hu/ to generate a collapsable manifest.
How do you make a multi-page object in mirador? What does that manifest or creation of manifest look like?
Creating your own manifest.
What if you want to grab a single leaf and not the entire manuscript?
Open full manifest for the manuscript (.json)
Find URL for single leaf you want (ends in default.jpg)
For Parker on the Web, you have to replace one part of the URL to make it work. Just before the MS no, delete the forward slash, and replace it with %252F
For most collections, grabbing the URL ending in default.jpg should work
Then, you can add the URL for the single leaf to the Canvas Metadata as you create a new manifest in http://iiif.bodleian.ox.ac.uk/manifest-editor
IIIF-ifying and Mirador-ing Your Images: A Step-by-step Guide
Ben and Lisa’s Four-Step (well actually there are 30) Method for IIIF-ing and Mirador-ing your favorite manuscript image(s), if they’re online JPGs that aren’t already IIIFed:
IIIF your image
Open in browser: http://iiif.archivelab.org/iiif/url2iiif?url= + your JPG URL (e.g. http://iiif.archivelab.org/iiif/url2iiif?url=https://cdn.ymaws.com/www.medievalacademy.org/resource/resmgr/Images/LFD/Minnesota_Ege_15v.jpg). Be patient.
Copy the resulting URL.
Create your manifest
Open the Bodleian IIIF Editor: iiif.bodleian.ox.ac.uk/manifest-editor/
Create a new manifest
Add canvas(es) and image(s) to the manifest
Click “Add canvas”
Click on the new canvas
Open Canvas Metadata
Click “Add image to canvas”
Select “From info json”
Paste the URL from step 1.b + /info.json (e.g. http://iiif.archivelab.org/iiif/url2iiif$33f0508b690c5e9bf491e689319c0b9b2d7b46f8bd8f4b65854fa2e83cf475b9/info.json)
Repeat 1.a - 2.vi as necessary until your manifest is done
Rearrange images as necessary using drag-and-drop
Optional but probably a good idea: label canvases with shelfmarks, folio numbers, etc.
Save and name your manifest
Don’t forget to edit the manifest label before you save!
Open your manifest (it should automatically open into a text editor)
Copy the entire manifest (don’t forget to include the curly brackets!)
Create your gist
Name your gist (something.json)
Paste the manifest that you copied in step 2.f into the gist editor
Click “Create secret gist”
Fix that thing that needs fixing
Click “raw”
Copy the resulting URL
Go back (hit the back arrow on your browser to go back one screen)
Click edit
Paste the URL in the second line, replacing everything in quotation marks
Click “Update secret gist”
Add your shiny new manifest to Mirador
Open your Mirador viewer
Add a resource
Paste the string that you copied in step 3.e.ii into the “Add new object from URL” box
Click load
SUCCESS! Now do it again.
Here is a step-by-step guide to
Hosting Derivative Manifests
To make your derivative manifest compliant with linked data standards, you must do two more things: A) Put the file on the web (someplace), and
B) Modify the @id of the file to correspond to the URL of its new location.
Until reusable IIIF manifest repository software exists, this might be most easily done using the Gist service of Github:
Create a Github account if you don't already have one.
Go to https://gist.github.com/ and create a new gist.
Cut-and-paste (or upload) the manifest file.
Call the filename manifest.json (or another filename that ends with manifest.json and has no spaces)
Click “Create a Public Gist” to save the file.
From the human-readable view of the file, you should have the options “edit” and “raw”.
Click the “raw” button to see the file by itself in machine-readable form. Copy the URL of that page. That URL is the URL (or “IRI” in IIIF terms) of your derivative manifest.
Click your browser back button to return to the human-readable gist.
Click “edit” to edit the file within the gist website.
Replace the original manifest URL in the @id field with the URL you copied.
Save the updated gist.
Test that this works – copy the @id from the human-readable gist into your browser bar and verify that your browser shows you the machine-readable gist.
Now your derivative manifest is ready to use! You can open it in Mirador or the Universal Viewer to make sure everything is working well, and that you only see the pages you care about for your edition. If you return to https://gist.github.com/, you should see all your derivative manifests under “My Gists”.
Configuring Mirador
See an example with multi-up windows and different canvases: http://dms-data.stanford.edu/data/m22/index_chaucer.html
Note - change layout and change windows objects
See developer view for the underlying html
Creating Manifests
How do you create manifests? There are a number of tools out there - the following links might be of use: https://github.com/IIIF/awesome-iiif#presentation-manifest-tools
Last updated