AEM cloud - Dynamic Media - GIF format issue | Community
Skip to main content
Level 3
Dec 9, 2022 10:19 AM UTC
Solved

AEM cloud - Dynamic Media - GIF format issue

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.

6 replies

Shashi_Mulugu
New Participant
Dec 11, 2022 2:45 PM UTC

@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

 

 

 

 

 

 

 

 

 

Translate
Lakshmi9Author
Level 3
Dec 22, 2022 5:28 PM UTC

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!

Translate
Shashi_Mulugu
New Participant
Dec 22, 2022 5:34 PM UTC

No you can't have renditions for static content.

Translate
nitesh_kumar-1
Employee
Dec 9, 2022 10:49 AM UTC
Lakshmi9Author
Level 3
Dec 9, 2022 11:26 AM UTC

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!

Translate