Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

DAM thumbnail generation

Avatar

Former Community Member

Hi,

1. Is it possible to generate thumbnail for word documents and excel without writing any custom workflow/servlet?

2. I have modified the update asset workflow to generate custom rendition of thumbnails (Added thumbnail arguments 120:120:false under Thumbnail process step). But when I upload image under rendition tabs in DAM, I do not see my custom thumbnail rendition getting generated. Is there a way to generate custom thumbnail rendition when we upload image manually.

Regards,

Ruben Fernando

1 Accepted Solution

Avatar

Correct answer by
Level 3

Refer the Below url to write a DAM Handler for creating the thumbnails for as asset.Updating the Dam Handler url as above URL is leading to 404(page not found).

https://docs.adobe.com/docs/en/cq/5-6-1/dam/dam_media_handlers.html

Refer the below article for creating a different renditions of an image by editing the Thumbnail Creation Step in Dam Update Asset Workflow.

http://www.albinsblog.com/2015/04/how-to-create-different-image-renditions-in-adobecq5.html#.Vx5bmnr...

View solution in original post

4 Replies

Avatar

Level 10

To generate a thumbnail for these assets - you need to write a DAM Handler. Within the handler - you can use DAM APIs (com.day.cq.dam.api) to create a thumbnail. To get you up and running with how to write a custom DAM Handler for AEM - see this article: 

Creating a Custom AEM Dam Media Handler

Hope this helps...

Avatar

Level 4

Hello @smacdonald2008 ,

I want to update the thumbnail for the expired assets.All my expired assets are in one folder. Running an scheduler to check the expiry date and moving that to archive folder.

I just want to apply watermark to the images. As applying watermark is creating a new rendition, looking for a way to apply watermark images as a thumbnail.

Can you please give me the solution, how i can approach this requirement..

Thanks in advance

Regards,

Bhavani Bharanidharan

Avatar

Former Community Member

 Is there a way to generate custom thumbnail rendition when we upload image manually from rendition tab in DAM?

Avatar

Correct answer by
Level 3

Refer the Below url to write a DAM Handler for creating the thumbnails for as asset.Updating the Dam Handler url as above URL is leading to 404(page not found).

https://docs.adobe.com/docs/en/cq/5-6-1/dam/dam_media_handlers.html

Refer the below article for creating a different renditions of an image by editing the Thumbnail Creation Step in Dam Update Asset Workflow.

http://www.albinsblog.com/2015/04/how-to-create-different-image-renditions-in-adobecq5.html#.Vx5bmnr...