Image Editor image-editor

The Image Editor is a core piece of AEM and can be used by components to facilitate the manipulation of images by content authors.

To use the features of the Image Editor described in this article, feature pack 24267 must be installed.

Relative Units for Image Map relative-units-for-image-map

The Image Editor persists image map areas as both absolute and relative units. Relative units are useful when provided as data attributes for dynamically resizing an image map (relative to the image size) on the client-side in a responsive image component.

imageMap Property imagemap-property

The image map coordinates are persisted to the JCR as an imageMap property by the Image Editor. It has the following format.

The property stores map areas as follows:


Area format:




Support for SVG Images support-for-svg-images

Scalable Vector Graphics (SVG) are supported by the Image Editor.

  • Drag-and-drop of an SVG asset from DAM and upload of an SVG file upload from a local file system are both supported.

Enabling Plugins by MIME Type enabling-plugins-by-mime-type

In certain situations authoring actions must be restricted for certain MIME-types, due to lack of support in server-side processing. For example, editing SVG images may not be allowed.

Plugins in the Image Editor can be selectively enabled by MIME type by setting a supportedMimeTypes property on the individual plugin’s configuration node.

Example example

As an example, let’s say that the ability to crop should only be allowed for GIF, JPEG, PNG, WEBP and TIFF images.

The supportedMimeTypes property must then be set as a string of the allowed MIME types on the configuration node of the plugin on the cq:editConfig node of the image component.


     <cq:dropTargets jcr:primaryType="nt:unstructured">
         <image ...>
         <config jcr:primaryType="nt:unstructured">
             <plugins jcr:primaryType="nt:unstructured">
                     <aspectRatios jcr:primaryType="nt:unstructured">
             <ui jcr:primaryType="nt:unstructured">