Reference
Field types
The custom fields the plugin registers and their options.
All fields are registered by the plugin bynder-media-library and appear in the Content-Type Builder under the Custom tab. Picture, video, audio and document fields store one URL as text, or a list of assets when you tick Allow several assets.
| Field name | Label | Asset types in the picker | Picker mode |
|---|---|---|---|
bynderPicture |
Bynder Picture | Image | Choose a file version (whole asset when disableDerivatives is on) |
bynderVideo |
Bynder Video | Video | Whole asset |
bynderAudio |
Bynder Audio | Audio | Whole asset |
bynderDocument |
Bynder Document | Document | Whole asset |
bynder |
Bynder | Any | Generic field, kept for older content types |
In a schema file the field is referenced as plugin::bynder-media-library.<name>:
"cover": {
"type": "customField",
"customField": "plugin::bynder-media-library.bynderPicture",
"options": { "disableDerivatives": false, "multiple": false }
}
Options
| Option | Fields | Meaning |
|---|---|---|
required |
all | The entry cannot be saved while the field is empty |
unique |
bynder |
No two entries can hold the same value. The typed fields cannot be unique, because a list is not comparable |
options.multiple |
bynderPicture, bynderVideo, bynderAudio, bynderDocument |
Editors pick several assets and arrange them in a list. See Stored value |
options.maxItems |
the four above | The most assets the field can hold. Empty means no limit |
options.disableDerivatives |
bynderPicture |
Skip the file-version step; the editor selects the whole asset. Not used when several assets are allowed |