Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Crop renditions

Avatar

Level 4

Adobe Experience Manager Help | Using Smart Crop with AEM Assets Dynamic Media

In this video for smart cropping, the tool creates several new renditions that are crops of the original image.

At the moment, if I edit an asset and create a crop, it overwrites the original image. Is it possibly to create multiple crop renditions of the same image manually?

1 Accepted Solution

Avatar

Correct answer by
Level 4

The non-destructive image renditions (through image modifiers) is a key feature of Image Server (part of Dynamic Media SKU). DM license is needed for the extensive support around this.

Just in case if you need to generate image renditions of different dimensions on the fly, there is a OOTB servlet "com.day.cq.wcm.core.impl.servlets.ThumbnailServlet" which use Layer API and generate the expected thumbnail on the fly.

For e.g. if user navigates to /content/dam/test/image1.jpg.thumb.319.319.png then given servlet gets called and generate the thumbnail on the fly but, beyond this, DM licence needed for all advanced use cases.

Thanks,

Ashutosh

View solution in original post

3 Replies

Avatar

Level 4

Can you confirm if the Dynamic Media is enabled? if not use [0] to enable it.

In Assets (when Dynamic Media is disabled), the image edit operations (cop, rotation etc.) results into destructive binary edit. Where as in case of Dynamic Media enabled, the image edit operations are performed using modifiers and doesn't modify the binary. Refer[1] for more details on DM.

[0] Configuring Dynamic Media with Feature Packs 14410 and 18912

[1] Adding Dynamic Media Assets to Pages

Avatar

Level 2

Hi, ashu4pma Do you know how to create/ customize into not destructive operation if we don't have Dynamic Media enabled because of the license.

Thank you.

Avatar

Correct answer by
Level 4

The non-destructive image renditions (through image modifiers) is a key feature of Image Server (part of Dynamic Media SKU). DM license is needed for the extensive support around this.

Just in case if you need to generate image renditions of different dimensions on the fly, there is a OOTB servlet "com.day.cq.wcm.core.impl.servlets.ThumbnailServlet" which use Layer API and generate the expected thumbnail on the fly.

For e.g. if user navigates to /content/dam/test/image1.jpg.thumb.319.319.png then given servlet gets called and generate the thumbnail on the fly but, beyond this, DM licence needed for all advanced use cases.

Thanks,

Ashutosh