Day 1 - Getting to know IIIF and Mirador

A gentle introduction to the International Image Interoperability Framework and an interactive viewer that allows for comparison and annotation.

Section 1: Getting to know IIIF

For more information, see http://iiif.io

What is IIIF?

The APIs

  1. Image API

  2. Presentation API

Interested in "motivations"? See more at http://www.openannotation.org/spec/core/core.html#Motivations

Quick Exercise: go to https://www.learniiif.org/image-api/playground and manipulate the test image

For later: https://www.learniiif.org - developed by Jack Reed - is a wonderful tutorial that you can use for reference throughout this workshop.

Fun with cropping

From this tool, https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.ucd.ie/loris/ivrla:10408, try cropping specific images.

Finding interoperable material around the world

  1. Biblissima (aggregates many European libraries): https://iiif.biblissima.fr/collections/

A browser plug-in for finding IIIF manifests: https://github.com/2SC1815J/open-in-iiif-viewer (h/t to Niqui O'Neill)

Quick Exercise: open http://projectmirador.org/demo/

  1. Find a manuscript that interests you from 1-5 above

  2. Find the IIIF badge, and drag it into Mirador

Basics of the Mirador viewer (a quick tour of features)

More at http://projectmirador.org/

  1. Build a workspace view that compares two or more manuscripts

  2. If you want, take a screenshot or picture of your comparison and share on Twitter: #IIIF

Section 2: Creating annotations and transcriptions using Mirador

Overview of Annotation Tools (structuring data, actual tools for bounding boxes and coloration, tags, annotation bodies, etc.)

Creating annotations in Mirador

  1. Annotating medieval maps: The Gough Map

Quick Exercise:

Examples:

Find London. Draw a shape around it and annotate it as such.

Find the Isle of Orkney on the Gough map. Draw a shape around it and annotate it as such.

Create a route from London to another city on the map (virtual pilgrimage?)

Find other features of interest on either map and annotate them.

If you want, take a screenshot or picture of your annotations and share on Twitter using our hashtag #MirMed2019

NB: these annotations will not persist once the browser session is closed - to be persistent, there needs to be a back-end for storage.

Section 3: Getting Mirador set up for yourself

Installing on your laptop

  1. Download the .zip or .tar of the latest version (in this case, 2.7.0)

  2. Unzip it (it will produce a folder called "build")

  3. From your browser, open the example.html file in that folder

Changing the list of manuscripts in your instance

  1. Find where you downloaded Mirador

  2. In a text editor, open the example.html file

  3. Find a manifest you want to add

  4. Add your manifest to the top of the list in the following format (replacing the URL for the manifest, and the location, as appropriate. An example: { "manifestUri": "https://purl.stanford.edu/ty289vb4415/iiif/manifest", "location": "Stanford University, Burke Collection"},

Section 4: Using Your Own Images

On the web

Start by creating an account at https://archive.org

We'll be using the Internet Archive IIIF service. If you have a non-IIIF image that is already online, you can put the URL to the image at the end of this URL: http://iiif.archivelab.org/iiif/url2iiif?url=

Example:

http://iiif.archivelab.org/iiif/url2iiif?url=https://ia802808.us.archive.org/12/items/IMG0196_201807/IMG_0196.JPG

becomes

http://iiif.archivelab.org/iiif/url2iiif$e7b2a50a7e865e59840b360be60959ef779ce08218d1b2748c0fd130aa2f3319

which can be used as a IIIF Image URL like: http://iiif.archivelab.org/iiif/url2iiif$e7b2a50a7e865e59840b360be60959ef779ce08218d1b2748c0fd130aa2f3319/full/full/0/default.jpg

Loading your images into Internet Archive

  1. Uploading your images to the Internet Archive:

    1. Go to archive.org and use the upload tool

    2. NB: You will need to create an Internet Archive account

    3. Once uploaded, you will have an archive.org URL like: https://archive.org/details/IMG0196_201807

    4. From here you can find your manifest by using your item ID in the following pattern: http://iiif.archivelab.org/iiif/IMG0196_201807/manifest.json

    5. Likewise, you can get to your specific image following this pattern: http://iiif.archivelab.org/iiif/IMG0196_201807/full/full/270/default.jpg

    6. General pattern: http://iiif.archivelab.org/iiif/:item_id

Other Options

Advanced Preview: Running an image server locally

  1. Install Docker

  2. Follow the directions above to set up the docker-image locally

  3. When you start the container use a command likedocker run -d -v /Users/blalbrit/Desktop/July2019/July52019:/usr/local/share/images -p 5004:5004 bdlss/loris-grok-docker replacing the path to your local image folder and the docker-image if necessary

Section 5: Creating Manifests

Quick refresher - Presentation API

Using the Oxford Manifest Editor: http://iiif.bodleian.ox.ac.uk/manifest-editor

Using the Oxford Manifest Editor (different host): https://iiif-manifest-editor.textandbytes.com

Using the Digirati Manifest Editor (version 3 API only): https://iiif-manifest-editor-live-demo.netlify.com/

Quick Exercise

  1. Using the Oxford Manifest Editor, create and download a 2-image manifest of your own.

    1. Find default.jpg URL

    2. Except with Parker, replace / with %252F to mirror service @id

  2. Save to GitHub Gist

Last updated