AEM cloud - Dynamic Media - GIF format issue | Community
Skip to main content
Level 3
December 9, 2022
Solved

AEM cloud - Dynamic Media - GIF format issue

  • December 9, 2022
  • 3 replies
  • 2217 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

nitesh_kumar-1
Adobe Employee
Adobe Employee
December 9, 2022
Lakshmi9Author
Level 3
December 9, 2022

Hi @nitesh_kumar-1 

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!

Shashi_Mulugu
Community Advisor
Community Advisor
December 11, 2022

@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/wcm/core/components/internal/models/v2/ImageImpl.java

 

 

 

 

 

 

 

 

 

Lakshmi9Author
Level 3
December 22, 2022

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!

Shashi_Mulugu
Community Advisor
Community Advisor
December 22, 2022

No you can't have renditions for static content.