Decorating my app with gif

Hi plotly community members

I added a gif image to my dash app in dbc card it does work fairly well on my local machine but once I deployed the app it’s no longer working why ? Help me please

Hello @Bahageel88,

For anything that will need to be displayed on the web will need to be placed in the assets folder and then you need to reference that element in the src of the image.

1 Like

Yes definitely I placed the gif within the assets folder in my GitHub repository but the gif image didn’t appear after deployment

You need to make sure the img src path it from the new assets location, and not your local computer path.

1 Like