Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Apply different profiles with different renditions to different images upon upload?

Avatar

Level 1

Hello all. I was needing to know if there was a way I could set up different profiles for the different kinds of images I upload, so that some get certain renditions and some get others? For example, I want to be able to upload a group of images as "type 1" and all these images get the "thumb" and "zoom" and "main" images, and also upload a group of images as "type 2" and have them get just the "main" image preset. Is there a way to do this? 

1 Accepted Solution

Avatar

Correct answer by
Level 10

You need to explore looking at using a custom Dam handler and possibly a custom workflow for this use case. A Dam handler is invoked when you upload an asset.

See this article to get you up and running with a Dam handler.

https://helpx.adobe.com/experience-manager/using/damhandler.html

When writing a custom Dam handler, you use this api:

http://docs.adobe.com/content/docs/en/cq/5-6-1/javadoc/com/day/cq/dam/commons/handler/AbstractAssetH...

There are a lot of subclasses you can look into using. 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You need to explore looking at using a custom Dam handler and possibly a custom workflow for this use case. A Dam handler is invoked when you upload an asset.

See this article to get you up and running with a Dam handler.

https://helpx.adobe.com/experience-manager/using/damhandler.html

When writing a custom Dam handler, you use this api:

http://docs.adobe.com/content/docs/en/cq/5-6-1/javadoc/com/day/cq/dam/commons/handler/AbstractAssetH...

There are a lot of subclasses you can look into using.