Cataloging and Retrieval Practices for Digital Archives of Historical Portrait Images
This article outlines the practical implementation of a digital archive system for historical portraits, specifically focusing on figures from the early French Republic. It covers domain modeling, metadata standardization, asset hierarchy, version auditing, and faceted search design to transform unstructured lists into a searchable, sustainable digital humanities resource.
I. Background and Objectives
The original source material records portrait information of various heads of state, heads of government, and related figures from the early French Republic in a list format. This includes positions such as the President of the National Convention, Directors, Consuls, President of the Provisional Government, Chairman of the Executive Commission, and Chief Executive. It also covers portrait types like busts, seated full-lengths, standing half-lengths, equestrian portraits, and engravings, accompanied by clues such as creators, dates, and inventory numbers. Such materials have distinct digital humanities asset characteristics: high information value but low structuralization; many-to-many relationships between persons, offices, works, creators, and dates. A single person may hold multiple offices; a single office may be held by multiple persons; and a single person may have multiple portraits with different compositions, creators, and dates.
If organized directly using numbers like “1st” or “I, II, III,” it may be readable in the short term but difficult to retrieve, reuse, and audit in the long term. A more rational approach is to abstract it into a “Historical Portrait Digital Archive System.” Taking persons, offices, portrait assets, creators, provenance, and rights as core entities, the system establishes stable identifiers, metadata standards, asset hierarchies, and publishing workflows. The system can use general object storage to save original and derivative images, relational or document databases to store metadata, and search indexes to provide faceted retrieval, supported by logging services and monitoring alerts to ensure publishing quality. This article uses the aforementioned list as a case study to illustrate a practical cataloging and retrieval implementation.
II. Domain Model Design
First, the “rows” in the list must be broken down into entities and relationships. It is recommended to define at least the following entities: person, office, office_term, portrait_work, portrait_asset, creator, provenance, rights, and relation. The person entity stores name, alias, birth and death years, brief introduction, and disambiguation identifiers; the office entity stores office name, associated regime, hierarchy, and start/end times; the office_term connects person and office, recording the order of tenure, duration, and uncertainty. The portrait_work describes “what kind of work this is,” including composition type, technique, creation date, creator, and subject person; the portrait_asset describes “what files exist for this work,” including original image, access image, thumbnail, detail image, watermark status, and checksum.
For example, figures in the list such as Pétion, Robespierre, Cambacérès, Sieyès, Barras, Napoleon, Dupont de l’Eure, Arago, and Cavaignac should each have individual person records; positions like President of the National Convention, Director, Consul, President of the Provisional Government, Chairman of the Executive Commission, and Chief Executive should have office records; terms like “bust,” “seated full-length,” “standing half-length,” “equestrian portrait,” and “engraving” should be entered into a controlled vocabulary rather than left as free text. The relationship between portraits and persons is connected via “subject person,” while portraits and offices should not be forcibly bound, as a portrait’s creation date might be earlier or later than the term of office. They can only be weakly linked via “associated office” with a noted basis.
III. Metadata Standards and Examples
Metadata should be both machine-readable and human-readable. Date fields are particularly important: original materials often contain expressions like “c.1791,” “before 1846,” and “1817,” which cannot be simply stored as strings. It is recommended to split these into four fields: date_display, date_start, date_end, and date_certainty. date_display preserves the original presentation; date_start and date_end provide a computable range; date_certainty takes values like exact, circa, before, after, and unknown. Person names should also retain both display_name and normalized_name to prevent search failures caused by duplicate names or variant characters.
Example structure:
portrait_work:work_id: "fr-rep1-petion-half-length-001"title: "Half-length portrait of Jérôme Pétion"persons:- person_id: "person-petion"role: "subject"offices:- office_id: "office-national-convention-president"relation: "associated"portrait_type: "half_length"composition: "bust"technique: "painting"creator:creator_id: "creator-unknown"display_name: "Unknown"date_display: "1792"date_start: 1792date_end: 1792date_certainty: "exact"asset_role: "master"watermark_status: "unknown"rights_status: "review_required"provenance_note: "List record, source to be supplemented"
The controlled vocabulary should cover portrait types, composition, techniques, asset roles, rights status, and watermark status. Portrait types can include bust, seated full-length, standing half-length, equestrian portrait, and engraving; composition can include frontal, profile, seated, and standing; asset roles can include master, access, thumbnail, detail, and mask; watermark status can include watermarked, watermark_free, and unknown. The benefit of a controlled vocabulary is retrieval stability, preventing “standing half-length” and “half-length standing” from being treated as two different concepts.
IV. File Naming and Asset Hierarchy
File naming should not carry all semantic meaning, but it must be stable, sortable, and traceable. It is recommended to use a layered structure: collection/regime/person_id/work_id/asset_role/version.ext. For example:
fr-republic/first/petion/fr-rep1-petion-half-length-001/master/v001.tiffr-republic/first/petion/fr-rep1-petion-half-length-001/access/v001.jpgfr-republic/first/petion/fr-rep1-petion-half-length-001/thumbnail/v001.jpg
Here, master is the immutable master file, access is the access image, thumbnail is the thumbnail, detail is the detail image, and mask is the watermark or restoration mask. Every time a derivative image is generated, the source asset checksum, processing parameters, and generation time should be recorded. The file system is only responsible for storage; retrieval semantics should be placed in the database to avoid broken links caused by future renames. For sensitive assets like “watermark-free images,” separate asset roles and access levels should be set, and they should not be mixed with standard access images.
V. Versioning, Permissions, and Auditing
Master assets in digital archives should follow the principle of “ingest once, no overwriting.” Any cropping, color correction, watermark removal, restoration, or format conversion generates a new version, recording parent_asset_id, operation type, operator, time, parameter summary, and checksum. This allows answering audit questions such as “which master file does the current display image come from,” “can a specific restoration be rolled back,” or “has a watermark-free image been publicly accessed.”
The permission model is recommended to be divided into levels: public metadata, public low-resolution images, restricted high-resolution images, restricted master files, and restricted watermark-free images. The search API can expose metadata publicly, but image downloads must return different URLs or authentication results based on the rights status. Logging services should record search, download, change, and review events; monitoring alerts should focus on publishing failures, checksum inconsistencies, abnormal access to sensitive assets, and index latency. All permission decisions should be based on rights_status and asset_role, rather than relying on guessing from file paths.
VI. Search and Display Design
Retrieval should be designed around the real questions of researchers and editors with facets: regime, office, person, portrait type, composition, creator, date, technique, rights status, and watermark status. The person page should display a relationship graph of “person—office—portrait—creator—date”; the office page should show the sequence of tenures and corresponding portraits; the work page should display the master file, access image, thumbnail, provenance notes, and version history. Sequence information like “1st” or “2nd” can be saved as an office_term.order field, but should not be used as the global primary key.
The general API can be designed as:
GET /api/portraits?office=national_convention_president&portrait_type=half_length&has_watermark=falseGET /api/persons/{person_id}/portraitsGET /api/works/{work_id}/assets
The response results should include work_id, display_title, person_display_name, office_display_name, date_display, thumbnail_url, rights_status, and match_reason. The search index can perform full-text search on names, aliases, office names, creator names, and provenance notes, and filter by dates and types. The presentation layer should prioritize loading thumbnails, and load access images on the detail page according to permissions, preventing high-resolution master files from being directly exposed.
VII. Quality Assurance and Publishing Workflow
The ingestion stage should verify file checksums, image dimensions, color profiles, metadata completeness, date consistency, person-office relationships, duplicate works, and rights status. Deduplication cannot rely solely on file names; it should use a combination of person, composition, date, creator, and image perceptual hashing for candidate comparison, followed by manual confirmation. Records with dates marked “c.” or “before” must allow range searches and cannot be forced into a single year. Multiple portraits of the same person should be distinguished by work_id, and person IDs cannot replace work IDs.
The recommended publishing workflow is: Ingestion registration -> Metadata normalization -> Asset derivation -> Manual review -> Index construction -> Publishing -> Monitoring. Each stage has status and responsible person fields. If the review fails, the reason is retained without deleting the original record. After publishing, logs and monitoring are used to observe index consistency, broken links, abnormal downloads, and permission denial rates. For subsequent expansions to data from the Second Republic, Third Republic, and other regimes, only the regime enumeration, office vocabulary, and person records need to be added without changing the core model.
VIII. Conclusion
Transforming the list of portraits of heads of state and government from the French Republic into a digital archive is not about organizing numbers more neatly, but about establishing a stable domain model, controlled vocabulary, asset hierarchy, version auditing, and faceted retrieval. Persons, offices, portraits, creators, dates, and rights should be modeled separately and connected through relationships; date uncertainty and multiple portrait versions should be explicitly expressed; master and derivative images, as well as public and restricted images, should be managed in layers. This approach preserves the historical information of the original list while supporting long-term preservation, academic retrieval, and sustainable publishing, providing a reusable technical foundation for expanding to more republican periods and historical portrait materials in the future.
