Expand my Community achievements bar.

SOLVED

Can't Get Animated GIF to Animate

Avatar

Level 2

Good day,

 

I'm having an issue with placing an Animated GIF in the background of an XHTML element on my client's page. I have uploaded the GIF to Adobe Experience Manager > Dynamic Media Classic but when pulling the image it does not animate.

 

Is there an fmt that I'm missing similar to getting alpha-channels with PNGs?

 

The path to the image is just the same as all of the others I've uploaded:

 

background-image: url('https://images.XXDomainXX.com/is/image/XXClientNameXX/122423-HP01-holidaySale-bkg-M-01?wid=1302&hei=270&fmt=gif');

 

(Image of the file in AEM-DMC):

Screencap showing animated GIF file uploaded.Screencap showing animated GIF file uploaded.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@DaveRu WF - Workflow. I meant a simple wf process to set up the property for the asset. AEM devs know it how to create the process and use it.

just like below example
https://medium.com/@toimrank/aem-custom-workflow-process-step-56e176f8f067

 

View solution in original post

6 Replies

Avatar

Community Advisor

@DaveRu For GIF images set the URL as /is/content like video contents instead of /is/image. you can do that check in the server side. Please test it out with simple image.

please see the sample here https://silabs.scene7.com/is/content/siliconlabs/trng-animation-centered-1?$Large2Column70pct$

 

Avatar

Level 2

So, it needs to be enabled server-side. I did already try using is/content instead of is/image and that didn't work, either. Does this mean that someone with account management permissions needs to adjust something in the settings?

 

Or is this something I can do using the app?

 

I do not have permissions or insight into any set-up of Adobe Experience Manager. That was done long before I began working for this client. I just downloaded the app and began using it.

 

Can you elaborate on how this is set-up?

 

Yours,

Dave

Avatar

Community Advisor

@DaveRu There should a metadata("dam:dmStatic") in the gif image uploaded in dam. That metadata  can be populated with simple WF process which runs when you upload the asset and set that metadata property. Atleast thats how we have it. Once you have it, you can refer the asset with /is/content instead of /is/image. Could you please check the metadata of that asset with the help of AEM admin/dev?

Also check this one too

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-assets/gif-images-not-work...

 

Avatar

Level 2

My apologies: I don't know what "WF" stands for. Is this an app or a setting within AEM?

Avatar

Correct answer by
Community Advisor

@DaveRu WF - Workflow. I meant a simple wf process to set up the property for the asset. AEM devs know it how to create the process and use it.

just like below example
https://medium.com/@toimrank/aem-custom-workflow-process-step-56e176f8f067

 

Avatar

Level 2

Ahhh... Gotcha! So a Dev will have to make the change! Good! Thanks! I'll reach out to them.