image-container

The image-container property is only used when uploading stories or storylines, and it is optional. It is used to define the details of how images in stories/storylines are handled, in the form of mappings between content item fields and DC-X image container tags. If no image-container property is specified then the images are stored as related items of the story in DC-X. The tag mappings are defined in exactly the same way as for uploaded binary assets (see tags).

Here is an example image-container definition:

image-container:
  - content-type: picture
    tags:
      - name: ImageCaption
        first-of:
          - type: image
            field: caption
          - summary-field: caption
          - field: caption
  - content-type: graphic
    tags:
    first-of:
      - type: image
        field: caption
      - summary-field: caption
      - field: caption