I can play an animated gif using an image if the gif is loaded from file system.
But if I save the same image via CDS, it only displays the static version. How do I make it move?
Thank you.
@FabianAckeret How do you use "File" type vs. "Image"? Can you give more details how to do that?
It is possible to store animated GIFs in the CDS, and to display them in a canvas app.
By default, the CDS stores and displays smaller thumbnail images for performance reasons. This is the reason why you're seeing a static version.
To configure a CDS image field to work with animate GIFs, the first step is to choose the option to store the full image.
You can then reference the 'Full' property of the image to return the full animated version.
Here's how the setting would look for an image control on a form.
There is no work around on the static gif in CDS since it will only save the first frame.
Instead of saving the gif to CDS, you can consider use an external resource for the gif (either online or SharePoint), then you can render an Image control with the URL. Surely you may have to deal with SharePoint authentication if it is not public.
Hi @AthenaRoboticsE ,
I'm agree with @FabianAckeret . Please change to save the GIF to the attachment of CDS, rather than Image field.
Sik
Not sure why that is, but as a workaround you can use the "File" type, instead of "Image". This works with gifs
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional