Repeating .gif in html table cards

Hello Domo Users!

I have recently created a html table card that pulls in image / gif URLs. When the page the card lives on is first loaded, the gifs play once, and then do not repeat. Is there a way to get the gifs to repeat while the page is loaded? Not sure where to start on this one, and I don't see anything like it in the help article here: https://domohelp.domo.com/hc/en-us/articles/360043430033-Adding-Graphics-Links-and-Images-to-Table-Cards-Using-Beast-Mode


Here is the beastmode I am using currently:


CONCAT('<div align=center><a href="', `URL`, '"></div><div align=center><img src="', `URL`, '"height="',`Creative Height`,'"></div>')


Thanks for your help in advance!

Tagged:

Best Answer

  • MarkSnodgrass
    Answer ✓

    @jefflmp585

    Looping is encoded into the GIF itself, not the img tag. Open the GIF in an image editor and change the mode to loop.

    If you have access to Adobe Photoshop, here are the steps:

    • Open your file in Photoshop
    • Go to File and click Save For Web
    • At the very bottom of the save dialog, you will see the Animation section, which should no longer be greyed out
    • Choose forever and save it.


    Hope this helps.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.

Answers

  • MarkSnodgrass
    Answer ✓

    @jefflmp585

    Looping is encoded into the GIF itself, not the img tag. Open the GIF in an image editor and change the mode to loop.

    If you have access to Adobe Photoshop, here are the steps:

    • Open your file in Photoshop
    • Go to File and click Save For Web
    • At the very bottom of the save dialog, you will see the Animation section, which should no longer be greyed out
    • Choose forever and save it.


    Hope this helps.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.
  • @MarkSnodgrass Thanks for your help and education here Mark! Good to know. I unfortunately don't have access to those files, but being armed with that knowledge will be very helpful!

    Thanks,

    Jeff