Page tree
Skip to end of metadata
Go to start of metadata

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:

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

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

Pre-built jars are also available for download. See Installing a module for help.

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.