Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Design

...

Default Behaviour(s)

Info

By default the popin is composed of the following elements :

  • The actual asset on the left

  • An information area on the right with those informations :

    • The name of the asset

    • A “copy credits” button, when clicked, the name of the asset and the name of the photographer are copied

    • The name of the photographer

    • Expiration date

    • Description

In the top right corner arrows allow to navigate between assets.

Advanced Configuration

The configuration of the preview pop-in is placed under $dam.previews and can be configured based on cursors names.

Config path

Default value

Description

$dam.previews.header.config

Code Block
[
  {
    "field": "name",
    "withoutLabel": true
  }
]

Add or remove fields to be displayed in the header section of the details zone

$dam.previews.column

Code Block
[
  [
    withBullet: false,
    fieldsToCopy: [
      {
        "pattern": "preview.copy.name",
        "fields": [
          {
            "field": "name"
          }
        ]
      },
      {
        "pattern": "preview.copy.br",
        "fields": []
      },
      {
        "pattern": "preview.copy.author",
        "fields": [
          {
            "field": "photograph.name"
          }
        ]
      }
    ]
  ],
  [
    "dam.detail.empty",
    {
      "field": "photograph",
      "withBullet": false
    },
    {
      "field": "dteendrights",
      "withBullet": false
    },
    {
      "field": "description",
      "withBullet": false
    }
  ]
]

Handle displayed fields and copy pattern