MyBB Community Forums

Full Version: How to set animated favicon in Mybb?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB uses favicon.ico how to make it animated favicon.gif?
Add the below to your headerinclude template.

<link rel="icon" type="image/x-icon" href="imageurlhere.gif">
Thanks for your reply@thexshadow

What i did:

1. deleted current favicon.ico
2. uploaded new animated gif favicon.gif
3. added above code in my headerinclude template as below:

<link rel="icon" type="image/x-icon" href="http://www.mysite.com/favicon.gif">

4. cleared cashes of browser (deleted temporary internet files for internet/firefox/chrome)

I'm using Mybb 1.6.12 Default theme (no plugins installed)

didn't work
Try this instead.

<link rel="icon" type="image/png" href="http://www.mysite.com/favicon.gif">
It doesn't matter whether you use MyBB or not - rather read:
http://en.wikipedia.org/wiki/Favicon#Fil...at_support
http://en.wikipedia.org/wiki/Favicon#How_to_use

So the correct code is:
<link rel="icon" type="image/gif"
 href="http://example.com/image.gif" />
and it doesn't work in some browsers, including all versions of IE and Safari.

To cover more browsers, you can try converting .gif to .ico with any tool, for example: http://favicon.htmlkit.com/favicon/ and then use the code for both .gif and .ico.
For the Favicon to show on Firefox, IE and Chrome use this code Smile

<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />

Don't forget to add image.icon to ./images forlder