Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

favicon.ico not working for me, already checked faq - help please, tia 1

Status
Not open for further replies.

FairyPrincessWendee

Technical User
Jun 25, 2005
3
US
I'm trying to make my own icon appear when my web site is displayed. I read the faq at and did what it said, but my icon is still not appearing. I even re-added my site to my favorites. I know my web server is Linux so would that be the problem because I'm viewing it with a Windows XP system in IE? Any suggestions? btw my site is
Thanks so much for any help.

Wendee
 
As far as I know, only Firefox has supported favicons that are not actually in a standard icon's format. Firefox displays your image just fine. It treats it like an icon, but loads it like an image, I think. There is a method for the Win32 API known as LoadImage(), so Firefox may use that. IE on the other hand probably uses a LoadIcon() method, which is considered outdated. Because of this icon-only method, IE may not load it because icons and images are not the same.

Of course, this is all just a theory and I could be completely wrong. :)
 
You have saved your icon in GIF format, not in ICO format. The two are very different formats.

While it appears that some browsers will be OK with you calling a GIF file an ICO file, I imagine that IE is not.

Use a program such as Axialis Icon Workshop, to create a proper ICO format file.

Also, I would not use this:

Code:
<link rel="shortcut icon" href="favicon.ico" type="image/dd-icon">

to place your image, as some browsers would not know what type "dd-icon" is. I suggest using both these lines:

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

The first for IE's benefit, the latter for other browsers.

Hope this helps,
Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
If you don't want to pay for a shareware icon program, there are a lot of free programs that can also save images in .ico file format. Personally, I use the open source graphics program GIMP, but that might be overkill just to create an icon - it takes a while to figure out how to use the program effectively.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Thanks so much to everyone for your help. [thumbsup2] I'm going to try using another program to save my icon and let ya'll know how it goes. I'll also change the html linking code as was suggested. Thanks so much!

 
In my experience, IE for WinXP does not display any Favicons. I've been able to view them only using FireFox or Netscape (the latest version) for PC; or Safari and Firefox for Mac. That goes for even popular sites whose Favicons show up in the other browsers without any problem.

What version of IE do you have that displays Favicons?



-- Chuckdesign :)
 
I can't see favicons locally on IE for WinME, but I can see them online.
 
Dan is correct. It does not work until you add it to your favourites.
 
[purple]Weeehaw! It works! Thanks so much! Doing the Snoopy Dance Ya'll are the best![/purple]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top