How to add a Favorites icon to my site

Step 1 - creating the image

  1. Using your favorite graphics software, create a 16x16 pixel image depicting your icon
    • Most web sites use a smaller version of their logo or similar
  2. The main consideration is to keep your icon simple and clear at such a small size
  3. It is also often important to use as few colors as possible
    • Most browser interfaces (the top tool bar containing the browser buttons) can display 256 colors, but it's best to use the Windows 16 colors
  4. Save this image as favicon.bmp
    • It is important to save as .bmp format as some icon editors won't open .gif format graphics

Step 2 - creating the icon

  1. Open up your icon editor and browse for your saved .bmp
    • We recommend using IconForge from CursorArts ( http://www.cursorarts.com/ca_if.html )
  2. When you open your .bmp to create an icon from it, make sure that you are using no more than 256 colors (IconForge gives you the option to choose how many colors) and preferably the Windows 16 colors
  3. If necessary, edit the image
  4. Save the image as an icon
    • Make sure it is called favicon.ico and now has the file extension .ico

Step 3 - including the icon in your web pages

  1. Publish the icon into the root directory of your web site
    • This is where Internet Explorer will automatically look for it when a visitor bookmarks your site
  2. Help the browser find your icon by including in the html, before the tag, the following:
    • Preferably nearer the closing tag, because more important information, such as your meta tags , should come earlier
  3. Save your web page and publish it
    • If you want to create different icons for different pages , simply call them something other than favicon.ico, but still retaining the .ico suffix
    • Link to them in your pages in the same way as above, just changing the href location for the different icons

Step 4 - testing your icon

  1. Open Internet Explorer (version 5 or above) and bookmark your page
  2. Determine if your i con stands out from other bookmarked web sites with favorites icons
  3. If necessary, re-edit your icon and publish it again
    • However, you will need to remove the bookmark (Favorites > Organize Favorites, select your bookmark and click "Delete") and delete your temporary Internet files and page history (Tools > Internet Options, tab "General" and click "Delete Files" under "Temporary Internet Files" and click "Clear History" under "History").
      • This may take a few minutes if you haven't done this recently
  4. Close your browser and re-open it , bookmark your page again to check the new version of your icon
  5. Repeat until you're satisfied your icon is suitably eye-catching
  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Related Articles

Optimizing Your Images

bitmapped (or rasterised) graphics When producing new versions of a graphic from the original,...

How can I protect the images on my website?

And here is the 'no right clicks' script.You can stop right clicks with a script (copy and paste...

Favicon not showing up in IE?

There are a few solutions for this problem.* Add the page to your favorites. If you already have...