Question
AEMaaCS: Smart Crop with Web-Optimized Image Delivery (AssetDelivery SPI) vs. DM with OpenAPI URLs
Hello!
We have AEMaaCS with Dynamic Media Ultimate and use the AssetDelivery SPI (com.adobe.cq.wcm.spi.AssetDelivery.getDeliveryURL) in custom components. It produces URLs like:
/adobe/dynamicmedia/deliver/dm-aid--<uuid>/<seoname>.jpg?width=1920&preferwebp=true&quality=82
Questions:
- Is
smartcrop=<CropName>supported on these/adobe/dynamicmedia/deliver/URLs, and can it be passed as a parameter togetDeliveryURL()? If yes, can it be combined withwidth? - What is the recommended way to generate DM with OpenAPI URLs (
/adobe/assets/urn:aaid:aem:…/as/…) server-side for DAM assets in the same AEMaaCS environment (local assets, not remote)? Is there a Java API, or do we build them from the asset ID ourselves? - Is
preferwebpstill recommended, or should we rely on Smart Imagingauto-format(AVIF/WebP)? - For different smart crops per breakpoint, is
<picture>with onesmartcropper<source>the recommended pattern, or is there a better practice with DM with OpenAPI? - Smart crop names: are they global across image profiles (uniqueness requirement), and what is returned if the requested crop doesn't exist for an asset? An error, or the un cropped image?
