The latest release of wcm.io Media Handler comes with some powerful new features.

Auto-Cropping

Manual cropping to Media Format ratios

Media Handler-aware Granite UI widgets

Media Handler-aware Placeholder HTL template

<sly data-sly-use.template="wcm-io/handler/media/components/placeholder/mediaPlaceholder.html"
    data-sly-call="${template.placeholder @ isEmpty=!media.valid, media=media.metadata}"></sly>

Component properties

All the new feature are powered by “component properties”, that means properties for media formats and auto cropping defined on the component node. See Usage for details.

For upcoming releases it’s planned to support Content Polices as alternative as well.

Try it out

Use wcm.io Maven Archetype AEM 2.1.2 to create a new test project with wcm.io Handler - it’s using all the features described above.