The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.

For more information about working in the DAM see Digital asset management. The DAM App module installs the Assets app.

The Digital Asset Management (DAM) module provides the functionality to manage assets such as images, videos and documents and use them on the website.

Module structure

artifactId
magnolia-dam-parentparent reactor
magnolia-dam-api

API for the base classes as Item, ItemKey, Asset, Folder, AssetRenditionAssetProvider.
Simple Maven module. (No Magnolia module.)

magnolia-dam-core

Core functionality.

contains an implementation for AssetProviderRegistryDamDownloadServlet, and others.
The Magnolia module holding the module class DamCoreConfiguration.

magnolia‑dam‑compatibilityExposes the Magnolia DAM 1.x implementation to enforce compatibility between DAM module1.2.x and 2.x.
magnolia-dam-jcrJCR based implementation of AssetProvider, and others.
magnolia-dam-appThe Magnolia module which contains and configures the content app to administrate the assets.
(The content app depends on the magnolia-dam-jcr because of its Content connector).
magnolia-dam-imaging

The link between magnolia-dam-jcr and the Imaging module .

Provides a AssetRenderer based on magnolia-dam-jcr.

magnolia-dam-templating

Provides the DamTemplatingFunctions.
(Unfortunately also dependent on magnolia-dam-jcr. Hopefully this dependency will be removed soon, see MGNLDAM-593 - Getting issue details... STATUS .)

magnolia-dam-previewAdds thumbnail and portrait views for PDFs and videos. This is an optional module and is not installed by default.


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-api</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-app</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-compatibility</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-core</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-jcr</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-templating</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.dam</groupId>
  <artifactId>magnolia-dam-imaging</artifactId>
</dependency>

Documentation

Get further information at: