Forum Moderators: not2easy
There are a couple freeware programs that generate the format, but I can't figure out what the limits/possibilities are, and I'd like to get a bit creative with it. Knowing a few things -- like how many (and which) colors, etc -- would be very helpful.
To rephrase my question, does anyone know how the .ico format differs from the .gif format? Specifically, how is the color palette restricted?
With conversion from gif to ico, there is a color shift, sometimes two different colors will map to the same color. I'd like to know what the rules are so I can design the icon with them in mind.
OK, oilman, I trust you on this BUT.... I've been playing with favicon.ico for a while using the Irfan Viewer. I still feel like it's a hit or miss thing for me.
What seems to happen is that I start with a 32 or even 16 color GIF, but converting to the ico format creates a color shift that wipes out the effect I had in mind. So I just keep playing until I stumble on something that looks OK.
I'd rather understand it so I don't have to hunt around for so long. Any insights on why this happens?
I notice that the download is over 6MB. That's a lot of program! And I also noticed that they say their mouseover sitemap is "Java enabled" when it's JavaScript plus an image map. That's one of my technical pet peeves -- not getting that JavaScript isn't Java.
Picky, picky, picky! But I'll still check it out.
That makes for quite an adventure in design -- talk about restrictions! There is some debate, they say, about whether 256 colors might work, and some sites (msnbc, for instance) do offer it. But they recommend 16.
I learned that the .ico format is actually a repository of what can be several bitmap images at different sizes. Depending on where the visitor drags an icon, it may need to be 32x32 rather than 16x16.
Interesting to note: The Microsoft site does NOT have a favicon.ico!!!!
Article [the-light.com]
<added>
lucynh, the answer is no, Netscape 6 does not support the favicon.ico. My guess is that it requires some deep integration with the Windows OS.
Any Mac users see the favicon in IE on Mac?
Name it favicon.ico and place it in each folder of your web site. If you don't wish to put an icon in each folder, place it in the root folder and add the following code to the head section of your pages:<link rel="shortcut icon" href="http://www.mywebsite.com/favicon.ico">
I just checked the Micorosoft site [msdn.microsoft.com] and they seem to agree. That'll teach me not to believe what I read without double-checking.
This may be the source of confusion -- the HEAD section code from PlayingWithFire is used when you want to associate a different icon with a certain directory. But, you would need to use the different file name, of course, not favicon.ico.
I had 162 calls for it last month.
Brian
I have noticed this for well over a year.
Curious, what do you think could be the cause in such an inconsistency.
It could just be the Tools settings in the different IE browsers I use.
1. If *some* favicons are missing, but others are showing: You bookmarked a site on one machine *before* they installed a favicon on their server, and you would have to delete the bookmark and re-bookmark the site to pick up the icon. IE only asks for the favicon file the first time you bookmark a site.
2. If no favicons are showing on the machine at all: I believe there is a setting somewhere in the IE browser preferences that allows you to 'turn off' favicons.
Of course, if one of them is a Mac, that explains why you get no icons there.