Using your own images

Local Annotation Server

This application allows for hosting your own images and annotating them. This is really only necessary if there is no URL to the image you would like to annotate. The steps to do this are below.

Use JPGs

  1. Copy image into assets/images/custom folder.
  2. Go to /annotate/imageditor page. Your new image should be listed.

Note High quality images will have slower performance when using the storyboard. This is due to the lack of tiling which IIIF provides. Creating and hosting IIIF images is only an extra couple of steps.

Creating IIIF images

This is made possible with minicomp/wax_tasks.

  1. Copy image (.tiff, .jpeg, .jpg, .png) or PDF into assets/images/custom folder.
  2. Open the objects.csv spreadsheet in the _data folder.
  3. In the pid field add the image filename. i.e. manuscriptpage.jpg should be entered as manuscriptpage in the spreadsheet.
  4. Add any other wanted metadata fields. These will show up in the manifest and will display when the info button is clicked. Note: after this has been run an order, collection, thumbnail, full, and manifest field will be auto generated. These can be ignored and do not need to be filled out when adding new images.
  5. Save and close csv file.
  6. open command line and type in following command. Note: make sure you are in top level of the repository.

     [vagrant@localhost vagrant]$ bundle exec rake wax:derivatives:iiif custom_images
    
  7. Go to homepage. The manifest should be listed in the mirador viewer after the command has finished running.