Skip to content

Commit

Permalink
Merge pull request #188 from IIIF/update_ia
Browse files Browse the repository at this point in the history
Adding links to new IA service
  • Loading branch information
glenrobson authored Dec 1, 2024
2 parents ab5135a + ee7c5b0 commit fb96bc9
Showing 1 changed file with 8 additions and 29 deletions.
37 changes: 8 additions & 29 deletions iiif-online-workshop/day-two/image-servers/iiif-hosting-ia.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ __Note__: some people have had some issues getting their images to show when upl

* 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](https://archive.org)
2. Upload your image
Expand All @@ -19,44 +18,24 @@ __Note__: some people have had some issues getting their images to show when upl
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
https://iiif.archive.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](https://iiif.archivelab.org/iiif/img-8664_202009/full/512,/0/default.jpg)
[https://iiif.archive.org/iiif/img-8664_202009/full/512,/0/default.jpg](https://iiif.archive.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](https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archivelab.org/iiif/img-8664_202009/info.json)
[https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archive.org/iiif/img-8664_202009/info.json](https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archive.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](https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archivelab.org/iiif/img-8664_202009)
[https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archive.org/iiif/img-8664_202009](https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archive.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](https://github.com/ArchiveLabs/iiif.archivelab.org/issues/44) and a fix on their github.

## Step by step guide

A step by step guide with screen shots for the above steps is below:
Expand Down Expand Up @@ -121,25 +100,25 @@ A step by step guide with screen shots for the above steps is below:

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

[https://iiif.archivelab.org/iiif/img-8664_202009/full/full/0/default.jpg](https://iiif.archivelab.org/iiif/img-8664_202009/full/full/0/default.jpg)
[https://iiif.archive.org/iiif/img-8664_202009/full/full/0/default.jpg](https://iiif.archive.org/iiif/img-8664_202009/full/full/0/default.jpg)

<img src="ia/iiif-image-url.png" alt="IIIF Image URL" class="standout-image"/>

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](https://iiif.archivelab.org/iiif/img-8664_202009/full/512,/0/default.jpg)
[https://iiif.archive.org/iiif/img-8664_202009/full/512,/0/default.jpg](https://iiif.archive.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](https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archivelab.org/iiif/img-8664_202009/info.json)
[https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archive.org/iiif/img-8664_202009/info.json](https://iiif.gdmrdigital.com/openseadragon/index.html?image=https://iiif.archive.org/iiif/img-8664_202009/info.json)

<img src="ia/openseadragon.png" alt="OpenSeaDragon example" class="standout-image" />

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](https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archivelab.org/iiif/img-8664_202009)
[https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archive.org/iiif/img-8664_202009](https://jbhoward-dublin.github.io/IIIF-imageManipulation/index.html?imageID=https://iiif.archive.org/iiif/img-8664_202009)

<img src="ia/ucd-image-cropper.png" alt="UCD Image Cropper" class="standout-image" />

0 comments on commit fb96bc9

Please sign in to comment.