Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

internet explorer 9 not showing .png favicon

I have a favicon , favicon.png in directory - img/favicon/favicon.png

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

In chrome , firefox etc it shows correctly, in IE9 it doesnt show, where the favicon should be it shows the internet explorer logo. Is there any reason why IE9 is wont show the png?

like image 540
Henrick Avatar asked Feb 16 '12 13:02

Henrick


1 Answers

The reason why it isn't working is that all favicons must be in .ico form. You can convert it here. By default, the browser scans for a file in the same directory called favicon.ico and displays that.

like image 55
jacktheripper Avatar answered Nov 03 '22 14:11

jacktheripper