Official Soldat Forums

Soldat Fans => Web Pages => Topic started by: Chakra on April 16, 2006, 09:42:27 am

Title: Favicon/Favourites Icons explained
Post by: Chakra on April 16, 2006, 09:42:27 am
"What's a Favicon?" someone once wrote... Vijchtidoodah explains the whats and hows below.



Here, let me explain it in more detail: you can create a favicon by using almost any image editor or free website service (favicon.com, for example).  If you make your own, keep in mind that the picture you use has to be 16 x 16, only use 16 different colors, and have a file extension of .ico.

To use this file once you've made it, you should name it favicon.ico and either place it into your root directory or place the following code between the <head> tags like so:
Code: [Select]
<HEAD>
<LINK REL="SHORTCUT ICON" HREF="http://www.domainname.com/folder/favicon.ico">
</HEAD>
Keep in mind that if you use the latter method, you'll have to put the code on each and every page (unless you supercede it with java script, I believe).

If you want to check out other people's favicons (like the soldat forums one), just type in the domain name followed by a slash and favicon.ico (if they've used the first method) or look through the source code for a portion of the code that I provided above (if they used the second method).

The Soldat Forums icon, for example, used the first method -- the .ico file is directly in the root folder negating the need to place that code on every page (you could search for it just to be sure, but I guarantee that it isn't there).
http://forums.soldat.pl/favicon.ico = (http://forums.soldat.pl/favicon.ico)


You can use this link : http://tools.dynamicdrive.com/favicon/ , to create a favicon icon out of an image. Don't expect miracles.
Many modern image editors (like gimp) have the option of saving a PNG/JPG/GIF file in  .ico format.