Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Crop renditions

alistairp781078
Level 4
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
ashu4pma
Correct answer by
Level 4
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
ashu4pma
Level 4
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

johant27131908
Level 2
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.

ashu4pma
Correct answer by
Level 4
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