Where is the info about Favorites icons stored?

I’ve noticed that some of the links on my Favorites lists have tiny pictures with them.
Some of these appear on all browsers and some only appear with Internet Explorer.

What I don’t understand is where the information for the picture is stored.
It must be in two separate places, or else perhaps the icons themselves are in distinct folders?

IE lets the page specify the icon by including code like this:



	<link REL="SHORTCUT ICON" HREF="http://www.site.com/foo.ico">


I don’t know offhand if other browsers use this same method or not.

If I right-click on a favorite and go to Properties, I can change the icon, so these must be attached by some other method. Where are properties recorded?

IE stores Favorites links, at least on this XP system, in the Favorites folder (\Documents and Settings[username]\Favorites). Each link is stored as a text file with .url extension. The icon can be specified within this file, using fields IconIndex and IconFile (the IconIndex used because a single IconFile may contain multiple icons). If you look at a couple of these *.url files you’ll get the idea. If it’s not specified explicitly, my guess is that it uses the cached icon from LINK REL (explained by galt) seen in the last visit, if available; I haven’t checked this though.

On a related note, IE has trouble keeping track of the special icons for your favorites - once you clear your browser cache, they usually vanish, and revert to the default symbol. Here’s a nice utility that makes the icons persistent, so they stick around. It also lets you do things like assigning the “favicon” from one website to another one, checking for redirected pages, checking for dead links, and so on. Freebies.

So when is the SDMB getting a favicon.ico?!!