I am able to use favicons if I copy one from another site and test. But my own doesn't work in IE8/Chrome. Mine is a 32x32 24bit icon created by Visual Studio. I always seem to have problems getting icons working right, what should I use? I thought I could have images up to 64x64...
5 Answers
First, just to be safe, convert your original icon to an .ico
using this converter.
Then, for cross-browser compatibility (specifically Internet Explorer), use:
<link rel="shortcut icon" href="http://www.yoursite.com/youricon.ico" />
Most browsers are smart enough to use any PNG/ICO named favicon.ico
located in the root of your site, but this is not always reliable.

- 7,444
- 1
- 21
- 28
The wikipedia page on favicon contains a lot of information.
The support for favicons differ a bit from browser to browser, and there is no guarantee that the favicon will work on any given system. Sometimes the browser just ignores it for no apparent reason.
To get the widest browser support, you should use the .ico format. There is a compatibility chart on the wikipedia page that tells you how widely supported each format is.

- 687,336
- 108
- 737
- 1,005
-
Yes I read it and decided to use ICO. But the ICO I have won't work... I can't find what color depths are supported. Should 24bit 64x64 work? – Mr. Boy May 26 '10 at 12:24
-
Use http://converticon.com/ to be sure that it's really an ICO (and it needs to be 32x32). – Intelekshual May 26 '10 at 12:35
You need to use 16x16 .ico file. 32x32 .ico files and .png, .jpg files don't always work in browser title bars. Nowadays you might find some browsers support this but not every browser does this so try to stick to 16x16 .ico files.

- 291
- 2
- 11
I was facing the same issue, you just have to add some extra character,
example: if you have written C:\Users\Desktop\image\icon.ico
for fetching the image then you just have to add ?v=2
like this
"C:\Users\Desktop\image\icon.ico?v=2".
or you can just change the format to .jpg
, .png
etc.

- 1,308
- 7
- 14
- 24

- 11
- 3