Do Windows 8 JavaScript apps support GIF images? If so, how can I display the GIF image?
I tried this below code but it wasn't working:
<img id="backround" src="images/header.gif" />
Update
I don't need a C# app. I need a JavaScript app.
Yes, since the WWAHost supports all the rendering features Internet Explorer does, it can also render GIF, even animated ones.
If it doesn't work for you, check if the file is included in the solution and the generated package. Also you can try adding a leading "/" to the path.
The support file types are listed here in the remarks section:
Gif should work but not animated gifs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With