Looking for Batch Manifest Creation Tools

99 views
Skip to first unread message

Sanjin Muftic

unread,
Jun 8, 2021, 8:15:56 AM6/8/21
to IIIF Discuss
Hello all,

We are trying to implement IIIF at our institution and we have got the image server and presentation server setup, but are struggling to find a solution to batch create manifests as we have collections and collections of images that we want to put up. 

We have looked at IIIF prezi, but are struggling with implement the slash substitute that is part of our image server setup as we are running a reverse proxy. I am not sure where it might be possible to change the "/" within the manifest factory. 
because it should go to Could not get IIIF Info from https://ibali-media.uct.ac.za/iiif/2/afridig>imvo_1884-11-03_p001.jpg/info.json
Putting the slash substitute as part of the path for
fac.set_base_image_uri("https://ibali-media.uct.ac.za/iiif/2/afridig") does not help.

We also tried the file analyzer tool from Georgetown: http://georgetown-university-libraries.github.io/File-Analyzer-Test-Data/iiif/ and while the tool is very user friendly, can create batches of manifests, we are running into an issue with canvas size. The code creates canvases of 1000 by 700 which seems to result in negative values for areas of the image when you zoom into a particular area of the image in the viewer. You can see that with any of the images here: https://ibali.uct.ac.za/s/IIIF-test/item/10181

The digital.bodleian has been the best tool so far, but I can't do all of these manually.

We do have an installation of Omeka set up but are not keen on using the modules as we want to have an independent IIIF infrastructure. We also do not have an IT team dedicated for us so we are grateful for the tools that have been put up that we can adjust. I have noticed that a lot of institutions implement their own workflow which is tailored specifically to their infrastructure. 

If anyone has any advice for either of the tools or recommendations for other ones, it would be much appreciated.

Many thanks
Sanjin

Ben Bakelaar

unread,
Jun 8, 2021, 4:08:23 PM6/8/21
to iiif-d...@googlegroups.com
After exploring options similar to you, my process for the METAscripta project was to build a custom PHP script that interfaced with a SQL database. I'd like to find time to generalize this and share it with the community, as I was unable to find a LAMP-stack solution at the time I was researching. My script currently only generates 2.1 spec manifests, but we are looking at updating the generation code to produce 3.0 spec over the summer.

Table #1
Image sizes and filenames which fill in the canvas/sequence portion of each manifest
The data comes from batch running ImageMagick command line tool "identify" across all image directories, then gets cleaned up and imported into an image size table that stores filename, width, and height.

Table #2
Item metadata
As long as you can get your metadata into a row format, you can then create a corresponding SQL table from CSV, Excel, Omeka export, etc.

Image server / repository
All of our images are stored in a single S3 bucket, which the Cantaloupe image server points to. So the server base and directory path is known and appended to the filenames stored in table #1.

PHP script
Constructs the shell of the manifest
Populates the metadata portion of the manifest
Generates the image sequence portion of the manifest (this is the complicated part)

I found no good way around needing a middleware layer with a "copy" of item metadata. But, we are now considering our Omeka records as the "display copy" and the SQL tables as the authoritative source.

-- Ben Bakelaar




--
-- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iiif-discuss/bec5f735-de44-4587-a427-96a0a81e1708n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages