Expand my Community achievements bar.

SOLVED

AEM cloud - Dynamic Media - GIF format issue

Avatar

Level 4

Hi Team,

For GIFs, renditions are generating as png and jpeg and not working as GIF when we select dynamic renditions. Please provide your suggestions to get it worked on DM?

 

Thank you!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
6 Replies

Avatar

Level 4

Hi @nitesh_kumar 

I already have gone through this but didn't find the solution. 

/is/content is working when I manually add it to the scene7 url but not sure where exactly to customize it only for GIFs & all. 

 

Any suggestions on this please?

 

Thank you!

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

@Lakshmi9 you need to write logic based on the type of asset. Please refer to AEM core component image component sling model.

Line:200 - 206

 

https://github.com/adobe/aem-core-wcm-components/blob/main/bundles/core/src/main/java/com/adobe/cq/w...

 

 

 

 

 

 

 

 

 

Avatar

Level 4

Hi @Shashi_Mulugu 

Thank you & this is what I'm looking for. 

In my case, the url with /is/image is getting formatted from rewrite rules akamai by rendering the DM url. May I know do we have any separate renditions for GIFs. If yes, will add the same to DM renditions & add the rule like if it's GIF DM renditions then it will process the /is/content. Any suggestions on this please?

 

Thank you!

Avatar

Community Advisor

No you can't have renditions for static content.