About Media Handler

Media resolving, processing and markup generation.

Maven Central

Documentation

Overview

The Media Handler provides:

  • Build URLs for media assets like images and downloads (based on URL Handler)
  • Pluggable media sources (with default implementations for DAM and binaries stored inside a content page)
  • Pluggable markup builders for different media types (e.g. images, DAM video)
  • Media format concept that allows to define expected output formats (with constraints for dimension, ratio, file type and others)
  • Rendering virtual renditions to match the expected output format
  • Supports manual and automatic cropping and rotation of images and image maps
  • Support for responsive images by rendering multiple renditions at once for each breakpoint
  • Define media handling via Java API, content policies or component properties
  • Pluggable media pre- and postprocessing to further tailoring the media handling process
  • Generic Sling Models for usage in views: Sling Models
  • Generic HTL Placeholder template
  • Generic Granite UI components that can be used in media/image component dialogs

Read the general concepts to get an overview of the functionality.

AEM Version Support Matrix

Media Handler version AEM version supported
1.2.x or higher AEM 6.2 and up
1.0.x, 1.1.x AEM 6.1 and up
0.x AEM 6.0 and up

Dependencies

To use this module you have to deploy also:

wcm.io Sling Commons Maven Central
wcm.io AEM Sling Models Extensions Maven Central
wcm.io WCM Commons Maven Central
wcm.io WCM Granite UI Extensions Maven Central
wcm.io Handler Commons Maven Central
wcm.io URL Handler Maven Central

Back to top

Version: 1.8.0-SNAPSHOT. Last Published: 2019-12-04.