Template for building photo album collections for UC Davis DAMS.
- Update
metadata.csvwith your collection information - Place TIFF files in
images/folder (named MC-001_0001.tif, MC-001_0002.tif, etc.) - Create and add PDF - Combine your TIFFs into a single PDF and place it in the
images/folder - Run the scripts in order:
python3 create_directory_structure.py
python3 create_metadata.py
python3 mint_collection_ark.py
python3 mint_single_ark.pymetadata.csv- Your collection metadataimages/folder - Your TIFF files and PDFs
Use format: MC-001_0001.tif, MC-001_0002.tif, etc.
- Must be sequential starting from 0001
- Same collection ID prefix for all images
Important: You need to create a PDF from your TIFF images and include it in the images/ folder.
- Create PDF: Combine all your TIFF images into a single PDF (e.g., using Adobe Acrobat, Preview, or other tools)
- Naming: Use your collection ID (e.g.,
MC-001.pdf) - Placement: Put the PDF in the
images/folder alongside your TIFF files - Result: Scripts will automatically copy it to the correct location and generate JSON-LD metadata
collection_id,title,description,creator,date_range,fast_id_1,fast_id_2,fast_id_3
MC-001,"Your Title","Description","Creator","1937-1941","http://id.worldcat.org/fast/1204928","",""
After running the scripts, import to DAMS:
fin io import .Tools to create PDFs from TIFF images:
- macOS: Preview app (File → New from Clipboard, then drag images)
- Windows: Adobe Acrobat, or online tools like SmallPDF
- Linux: ImageMagick (
convert *.tif output.pdf) - Online: CombinePDF, ILovePDF, or similar services
Best practices:
- Ensure images are in correct order before creating PDF
- Use consistent naming (MC-001.pdf matches your collection ID)
- Test PDF opens correctly before adding to images folder
For detailed workflow, see WORKFLOW.md.