Naviga Photos
1.0.0
1.0.0
  • Welcome to Naviga Photos!
  • Introduction
    • What is Naviga Photos?
  • User Guide
    • Top menu
    • Uploading photos
      • Manage the list
    • Metadata settings
      • Individual metadata
      • Reset metadata
      • Mandatory metadata
      • Remove photo from selection
    • History
    • Find uploaded photos
      • Manage metadata settings
    • Navigation and hotkeys
  • Admin Guide
    • Installation and upgrade
    • Requirements
    • Changelog
    • Configuration
      • Metadata
        • EXIF
        • IPTC
      • Providers
        • ICP configuration examples
      • Validation
      • Mappings
  • Developer Guide
    • See the source code
Powered by GitBook
On this page
  • File
  • Concepts

Was this helpful?

  1. Admin Guide
  2. Configuration

Metadata

PreviousConfigurationNextEXIF

Last updated 4 years ago

Was this helpful?

File

Configures which metadata fields from the file that can be added or edited in the user interface.

Consists of an array of objects. Each object corresponds to a single metadata field from the file.

If both exif and iptc are specified, iptc will be used if a value exist in the file, otherwise it will fall back to the exif value.

If neither exif or iptc is specified, an empty field will be rendered. This is useful for adding custom metadata that is not present in the file.

Key

Type

Description

labelName

string

The label shown in the user interface

exif

string

iptc

string

rows

number

The height of the edit field shown in the user interface

mapToMetadataName

string

The name of the field that will be used to save this metadata in OC

required

boolean

Should entering a value be required in the user interface

Example:

[
    {
        "labelName": "Photographer",
        "exif": "Artist",
        "iptc": "Byline",
        "rows": 1,
        "mapToMetadataName": "photographer",
        "required": false
    },
    {
        "labelName": "Photo credit",
        "iptc": "Credit",
        "rows": 1,
        "mapToMetadataName": "credit",
        "required": false
    },
    {
        "labelName": "Instructions",
        "iptc": "SpecialInstructions",
        "rows": 2,
        "mapToMetadataName": "instructions",
        "required": false
    },
    {
        "labelName": "Source",
        "iptc": "Source",
        "rows": 2,
        "mapToMetadataName": "source",
        "required": false
    },
    {
        "labelName": "Description",
        "exif": "ImageDescription",
        "iptc": "Caption",
        "rows": 10,
        "mapToMetadataName": "text",
        "required": false
    },
    {
        "labelName": "Alt text",
        "rows": 3,
        "mapToMetadataName": "altText",
        "required": false
    }
]

Concepts

Configures which concept types that can be added or edited in the user interface.

Consists of an array of objects.

Key

Type

Description

label

string

The label shown in the user interface

title

string

The text used in the concept search input. "Search {title}"

rel

string

The relation type

filters

array of objects

An object has a single key, "ConceptImTypeFull" with the concept type.

Example:

[
    {
        "label": "Author",
        "title": "author",
        "rel": "author",
        "filters": [
            {
                "ConceptImTypeFull": "x-im/author"
            }
        ]
    },
    {
        "label": "Tags",
        "title": "tags",
        "rel": "subject",
        "filters": [
            {
                "ConceptImTypeFull": "x-im/person"
            },
            {
                "ConceptImTypeFull": "x-im/organisation"
            },
            {
                "ConceptImTypeFull": "x-im/topic"
            }
        ]
    }
]

The name of this metadata in the data of the file

The name of this metadata in the data of the file

Allowed exif-tags
Allowed iptc-tags
exif
iptc