Magnolia 5.7 reached extended end of life on May 31, 2022. Support for this branch is limited, see End-of-life policy. Please note that to cover the extra maintenance effort, this EEoL period is a paid extension in the life of the branch. Customers who opt for the extended maintenance will need a new license key to run future versions of Magnolia 5.7. If you have any questions or to subscribe to the extended maintenance, please get in touch with your local contact at Magnolia.

Modules

  • magnolia-dam-jcr
    • Magnolia specific DAM implementation based on JCR.
    • Stores DAM data in the JCR workspace dam.
    • Provides and configures the JCR specific AssetProvider  JcrAssetProvider .
  • magnolia-dam-imaging
    • The link between magnolia-dam-jcr and the Imaging module.
    • Provides and configures ImagingBasedAssetRenderer which is a AssetRenderer based on magnolia-dam-jcr.

Installing

Maven is the easiest way to install the module. Add the following to your bundle. The parent POM of your webapp project should set the latest version of the module automatically. Should you need to use a specific module version, you can define it using the <version/> in the dependency.

<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-jcr</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-imaging</artifactId>
</dependency>

Magnolia DAM JCR configuration

As mentioned above, the configuration for   JcrAssetProvider  and  ImagingBasedAssetRenderer  are set by their modules. Finally the configuration looks like this:

Node nameValue

 modules


 dam


 config


 contentDisposition


 providers


 jcrProvider


 renderers


 imaging


 class

info.magnolia.dam.imaging.ImagingBasedAssetRenderer

 class

info.magnolia.dam.jcr.JcrAssetProvider

 identifier

 jcr

 renderers


 noOp


 class

info.magnolia.dam.core.NoOpAssetRenderer

Note: NoOpAssetRenderer is configured by DAM core module but is shown here the sake completeness.