Using the Internet Archive

The Internet Archive allows you to upload images and then provides a IIIF Image API service. Helpfully they also have a function to delete your images after 30 days if you are using this as a test. The overall process is as follows:

Note: some people have had some issues getting their images to show when uploading to the Internet Archive. To avoid these issues:

  • Ensure you only upload 1 image ( if you want multiple images you will need to create multiple items)
  • Ensure the collection is 'Community Image' collection. The Community Texts collection seems to break the image viewing currently
  • Some of the IIIF images appear very small even if you uploaded a large image. See the note below on adding the filename to the URL to get the original image available as IIIF.
  1. Register for a user account at archive.org
  2. Upload your image
    • Ensure you only upload a single image
    • Ensure you select the 'Community Image' collection
  3. On the details page get the identifier for the image. For example if the details page link is:

    https://archive.org/details/img-8664_202009

    the identifier would be img-8664_202009

  4. Use the Internet Archive image service with this identifier:

    https://iiif.archivelab.org/iiif/img-8664_202009/info.json

  5. You should then be able to use this image:

    Create an image link:

    https://iiif.archivelab.org/iiif/img-8664_202009/full/512,/0/default.jpg

    Check it works with a zooming viewer like OpenSeaDragon:

    https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archivelab.org/iiif/img-8664_202009/info.json

    Pull out regions using the UCD selector tool:

    https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archivelab.org/iiif/img-8664_202009

    Note: the UCD selector tool requires the Image link without the info.json at the end of the URL.

Small images workaround

Some images are appearing small, to get round this issue you will need to add the filename to the URL. In the following example:

https://archive.org/details/img-8664_202009

you would normally create the following URL:

https://iiif.archivelab.org/iiif/img-8664_202009/info.json

but to make the image larger you need to add the filename ($IMG_8664.jpg) so it looks like:

https://iiif.archivelab.org/iiif/img-8664_202009$IMG_8664.jpg/info.json

To find the image navigate to the details page:

https://archive.org/details/img-8664_202009

and click on the main image. This will show the image full screen and if you look in the address bar you will be able to see the filename. The reason this happens is due to a bug in the Internet Archive IIIF implementation and I have submitted a Bug and a fix on their github.

Step by step guide

A step by step guide with screen shots for the above steps is below:

  1. Register for a user account at archive.org

    Click signup or login if you already have an account:

    Sign up / Login

    Then create your user:

    Create user

    They will then ask you to verify your email address:

    Send verification email

    You will then see an email like the following:

    Verification Email

    Click on the link on the email and you will get the following screen:

    success

  2. Upload your image

    Select upload on the Archive Welcome screen:

    welcome screen

    You will then see the following screen. Select the green Upload Files button:

    upload choices

    Then click on the 'choose files to upload' button and select the image to upload:

    choose files

    Add metadata. The Title, URL, Description tags are mandatory. I left it in the Community Image collection. Usefully you can also say if its a test item which can be deleted after 30 days.

    Update: ensure collection is Community Image Collection otherwise the image won't work as IIIF.

    Metadata

    Then click 'Upload and Create Your Item'. This took at least 5 minutes and after the bar has completed you have to wait longer presumably so it can setup the derivative images.

    Upload wait

    If all has gone well you should see the item page:

    item page

  3. On the details page get the identifier for the image. For example if the details page link is:

    https://archive.org/details/img-8664_202009

    the identifier would be img-8664_202009

    Get image identifier

  4. Use the Internet Archive image service with this identifier:

    https://iiif.archivelab.org/iiif/img-8664_202009/full/full/0/default.jpg

    IIIF Image URL

  5. You should then be able to use this image:

    Create an image link:

    https://iiif.archivelab.org/iiif/img-8664_202009/full/512,/0/default.jpg

    Check it works with a zooming viewer like OpenSeaDragon:

    https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archivelab.org/iiif/img-8664_202009/info.json

    OpenSeaDragon example

    Pull out regions using the UCD selector tool:

    https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archivelab.org/iiif/img-8664_202009

    UCD Image Cropper

Last modified by Glen Robson 2020-09-24 02:39:44
Created by Glen Robson 2020-06-09 13:00:25

results matching ""

    No results matching ""