Libraries Management

Libraries is a key concept inside the Digital Reading Room. Here you can create or import libraries with collections of images. The manner you define your libraries in this section will affect the user experience.

Libraries

A library is composed of a folder, with a metadata.csv file, and sub-folders with images (and optionally, indexes). This structure is used to import a library into the system, but you can also create one manually from this interface.

Library options

Library options are found on the same line:

  • Collections: This will open the Collections management page for the library (see Collections management)
  • Open Folder: Will open the root folder for the library, in the default file’s explorer.
  • Scan for Indexes: Will scan the collections in the library for newly added index files. It will not review those who have already been imported.
  • Edit: Allows you to change the name and root folder of the library.
  • Delete: Will delete the library and all related information from the database. It will not affect the files in the hard disk.

Import and Create libraries

Click the Add button at the top of the list to create or import a library. Enter the name as will be visible to users, and select the root folder for the library. The system will scan the directory, and:

  • If finds a metadata.csv file, it will create the library with all the collections defined by it in the sub-folders, including indexes if any.
  • If is not found, the application will create an empty library. You can add collections manually later (see Collections management).

Metadata.csv format

Each metadata.csv file defines a library, and is placed at the root folder that contains the directories with images. The file contains column/field names in the first row, and then each subsequent row defines one “collection”. A collection is a folder with images. It is expected that the file is CSV formatted, in UTF-8, and using the pipe ( | ) or semicolon ( ; ) characters as delimitator (but not mixed).

Required fields

These are the minimum expected fields in the metadata.csv file, that define each collection:

Additional fields can be present but are ignored by the current DRR.