Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

azula

macrumors newbie
Original poster
Jan 27, 2008
14
0
How to insert a Icon in address bar to a web page?

greetings
 
How to insert a Icon in address bar to a web page?

greetings

From http://www.chami.com/Tips/internet/110599I.html

Method 1
This is the easiest method to implement and it will work regardless of the particular page on your site users choose to add to their favorites list. Don't worry if you don't have access to your web site root; take a look at the next method.

If you have access to the root of your web site, simply save your icon file as "favicon.ico" there. For example, if your web site is "www.chami.com", your icon file should be available at "www.chami.com/favicon.ico". The web browser will look for favicon.ico whenever your site is added to the favorites list and if it is found at the root of your web site, the icon will appear next to the link to your site.
 
Code:
<link rel="shortcut icon" href="/favicon.ico">

Then make an image, 32x32, then save for web, as gif. Change the extension to .ico, use the code above. Done and Done.
 
thx for your help:)

unfortunatly, im not getting any luck whith that, I even tryed whith the Photoshop Plugin Windows Ico but nothing works:confused:

ive tryed method 2...

Method 2
If you don't have access to the root of your web site, you have to add the following tag to your web page so that the browser will know where to look for your icon. Unlike before, this time you can save the icon under any name ending with ".ico" We'll use the name "logo.ico" and assume that your web site is under the directory "~your_directory".
*
<LINK*REL="SHORTCUT*ICON"
*******HREF="/~your_directory/logo.ico">
*
****NOTE:
Above tag should be inserted in-between the <HEAD> and </HEAD> tags.
*

Did it worked for you Wee Beastie?


tight...I've been meaning to ask that question myself. Thanks guys
 
thx for your help:)

unfortunatly, im not getting any luck whith that, I even tryed whith the Photoshop Plugin Windows Ico but nothing works:confused:

ive tryed method 2...

Method 2
If you don't have access to the root of your web site, you have to add the following tag to your web page so that the browser will know where to look for your icon. Unlike before, this time you can save the icon under any name ending with ".ico" We'll use the name "logo.ico" and assume that your web site is under the directory "~your_directory".
*
<LINK*REL="SHORTCUT*ICON"
*******HREF="/~your_directory/logo.ico">
*
****NOTE:
Above tag should be inserted in-between the <HEAD> and </HEAD> tags.
*

Try this. I use to use on one of my sites,
HTML:
<link rel="icon" href="logo.gif" type="image/x-icon" />
As a note, there may be some server settings that stop you from doing this. If the suggestions you get here don't work ask your host about it.
 
thx angelwatt

were do you place the tag?
(...)should be inserted in-between the <HEAD> and </HEAD> tags.(...)



Try this. I use to use on one of my sites,
HTML:
<link rel="icon" href="logo.gif" type="image/x-icon" />
As a note, there may be some server settings that stop you from doing this. If the suggestions you get here don't work ask your host about it.
 
GREAT Angel :eek:

It worked at first attempt!
none of the other codes worked...

you are an angel

THX A LOT

Glad it worked. I remember it took me some searching to figure it out the first time I tried it myself.
 
Glad it worked. I remember it took me some searching to figure it out the first time I tried it myself.

It worked perfectly!

I did some search too but clearly not in the right places...
I tryed whith .gif , .bmp , .jpg and a lot of different codes but none worked...

only an angel to give the magic words
 
Code:
<link rel="shortcut icon" href="/favicon.ico">

Then make an image, 32x32, then save for web, as gif. Change the extension to .ico, use the code above. Done and Done.

Also make sure that the gif isn't transparent. I found out that one the hard way...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.