1. The xmedia description and xmedia caption field should created on the xmedia types when the xmedia module get enabled. Then I can add additional fields to the xmedia type (e.g. copyright checkbox, a taxonomy field, ...). Now, when I add an image to the xmedia library, I can fill in all the data for the added image (master).
  2. When a new xmedia display type is created, it inherits the information/fields from the selected 'Source type' (xmedia type) selected on the xmedia display type creation page.
  3. Then a xmedia field with a defined xmedia display type can be added to a content type
  4. When a new node with this field is created, I see the added fields (description, copyright checkbox, ...) prefilled with the information from the library. Now i have the possibility to overwrite some informations (e.g. description). The overwritten field-values are saved in the related xmedia display type entity

This structure was an idea from Erik and in my opinion, this has worked in a previous version.

i

CommentFileSizeAuthor
inherit.png598.12 KBweri
inherit.png598.13 KBweri

Comments

weri’s picture

An important addition is the possibility to set a checkbox "Use this field in xmedia display type" on every added field in a xmedia type.

Because it is not necessary to clone/inherit all fields from the xmedia type to the xmedia display type. For example: When a xmedia type uses a taxonomy to build a structure of the medias in the library. This taxonomy field must not shown in the xmedia display type when I add a xmedia to a node.

tomasbarej’s picture

Status: Active » Fixed

We add requested checkbox on xmedia custom fields "Use this field in xmedia display type"

weri’s picture

Status: Fixed » Needs work

The content from the xmedia meta field is not copied from a xmedia type in a new xmedia display type entity.

weri’s picture

Status: Needs work » Closed (fixed)

This seems working with the newest dev version.