Skip to main content Link Search Menu Expand Document (external link)

2: Collect the batch images Work in Progress!

Role Contributor

  • The user(s) responsible for curating the actual batch data should follow this guide with some guidance from an NYU DSS admin as needed.

Objective

  • Organize a folder of images into items that can be paired with metadata in the next step.

Steps

  1. Pick your workspace for gathering and organizing your batch images. A new folder on your Desktop would work great. Let’s use the example batch_workspace.
  2. Within your new folder, make another called data, e.g., ~/Desktop/batch_workspace/data.
  3. Pause to think about what constitutes an β€œitem” within your batch. In other words, what will get organized into its own IIIF manifest? An item can comprise a single image (like a scanned photograph), or many (like pages in a manuscript).
  4. Think about what scheme you’ll use to create identifiers for your items. This can be an inherited scheme or a new one, but the simpler the better. When in doubt, you can identify items in order like 0001, 0002, 0003, etc. The important thing is to have a clear idea of why and how identifiers will be applied to items.
  5. Start moving your image data into the data directory with the following rules:
    • Images need to have one of the following file extensions: .jpg, .jpeg, .png, .tif, or .tiff.
    • Any single image directly in data will be treated as a single-image item. The name of the file (minus the extension) is the item identifier.
    • If you want to make a multi-image item, make a folder within data using the id and fill it with the item’s images.

Example

As an example result, the following batch data structure creates 5 items with the following identifiers: 001, 002, 003, 004, and 005. 001, 002, 004, and 005 each include 1 image only, whereas item 003 has 3 images that will show up in alphanumeric order.

batch_workspace
β”œβ”€β”€ data
β”‚   β”œβ”€β”€ 001.jpg
β”‚   β”œβ”€β”€ 002.jpg
β”‚   β”œβ”€β”€ 003
β”‚   β”‚   β”œβ”€β”€001.tif
β”‚   β”‚   β”œβ”€β”€002.tif
β”‚   β”‚   └──003.tif
β”‚   β”œβ”€β”€ 004.png
|   └── 005.jpg