...
Then, clear Drupal's caches using the command:
drush cr
Licensing the Wedia Content Picker users.
Out of the box, no user has the privilege to use the Wedia Content Picker. To gain access, kindly get in touch with your Wedia account manager and obtain a license for the content picker.
Settings for the Wedia Drupal module
...
Wedia fields can be added to any Drupal content type, as any other field :
...
Inserting images in a Drupal Content
When a Drupal content type has been defined with a “Wedia Image” field, the content form includes the new image field to allow the content author to add an image from the Wedia DAM:
...
Info |
---|
Tip : When setting up your content type, and adding your field to the content type, you can set up default values in the content picker options. |
To select an image, click on “Select image in the Wedia DAM”, this will open the Wedia DAM as an overlay of the current page. You can click on the top red cross to close this overlay and return to the previous state.
...
You may need to log in into the Wedia DAM. Single sign-on for most of the SAMLv2 and oAuth2 authentication system will work, but this may require some testing.
When logged, you can use the Wedia DAM to search for images. All other asset type will be filtered.
Please note that depending on the module setup, some of the user interface may not appear : filters, sort, universes marked in yellow below:
...
When hovering on the selected image, the “integrate” button will let you select the image and insert its reference into the Drupal content. The image is not copied into media library of Drupal, only its references are stored, and the image field will be linked to the Wedia content.
...
Once inserted, the ALT text is filled, depending on the name coming from the DAM. The language of the name depends on the language of the Drupal content:
...
To reset a Wedia image field, use the Clear button:
...
To render the image in the final website, the page template of the theme can use the Image styles provided by Drupal, the Wedia modules support image styles.
...
Inserting videos in a Drupal Content
The video uses the same logic as for the Wedia image:
...
But when the content picker opens, only videos will be available for picking:
...
The poster image is defined into the Wedia DAM.
The player size can use preset sizes, or use the last option to define a per content custom size:
...