When using the Media Integration widget, the regular Cloudinary Assets subapp is hidden.
Instead, Cloudinary content is managed within the Choose Dialog.
Prerequisites
To use this module you need to have an existing Cloudinary account.
The Cloudinary Media Integration widget requires a specific activation flag in the Cloudinary instance.
Without the activation flag, the widget displays a login screen.
What do you need to do?
You must submit a request to Cloudinary to enable the flag on your instance.
The flag is called CMS Signature Login Enabled.
Why is it needed?
The "Signature" authentication method in Cloudinary generates secure signatures for requests to its API.
This helps ensure that only authorized users are able to access and manipulate resources stored on Cloudinary.
From your Cloudinary account, you need the following:
cloudName
apiKey
userName
apiSecret
This information needs to be entered either in the Passwords app under the /cloudinary/default folder or as a decoration in your light module.
Passwords app
Decorate config.yaml
Available from version 1.2
This should be done via a decorations registry in your own light module.
The decorations you define impact the Media Integration widget’s config.yaml file.
Under config/server, change the defaultBaseUrl property to point your own instance and contextRoot.
Override default account
From Cloudinary External DAM module version 1.3.0 and later, this feature no longer works.
This is because credentials are role-based instead of user-based from 1.3.0.
You can override the default account settings by providing user specific settings.
Put the user specific account under the Magnolia username.
Installing this module hides the Cloudinary DAM app.
To keep using the Cloudinary DAM app, you must manually enable it.
Go to your Resources app.
Navigate to "/cloudinary-media-widget-integration/decorations/dam-app-core/apps/dam.subApps.cloudinaryBrowser.yaml" file.
After opening magnolia dialog and clicking on select image button, you are presented with Cloudinary widget select dialog.
Additional info
When installed, this module hides the Cloudinary Assets subapp and Cloudinary content in the Choose dialog by default.
To enable the Cloudinary Assets subapp, set closable to true for cloudinaryBrowser subapp in the DAM configuration yaml.
To enable the Cloudinary content in the Assets Choose dialog, set showCloudinaryContentInChooseApp to true for the cloudinary-media-widget-integration module configuration yaml.
For decorations to work consistently, you need to add the following in your light modules: