Icon in address bar

Discussion in 'Web Design and Development' started by azula, Jan 31, 2008.

  1. azula macrumors newbie

    Joined:
    Jan 27, 2008
    #1
    How to insert a Icon in address bar to a web page?

    greetings
     
  2. zirkle2007 macrumors 6502

    zirkle2007

    Joined:
    Sep 25, 2007
    Location:
    Indiana, USA
    #2
    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.
     
  3. ChicoWeb macrumors 65816

    ChicoWeb

    Joined:
    Aug 16, 2004
    Location:
    California
    #3
    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.
     
  4. Wee Beastie macrumors regular

    Joined:
    Aug 20, 2007
    Location:
    In the snow with Rosebud
    #4
    tight...I've been meaning to ask that question myself. Thanks guys
     
  5. azula thread starter macrumors newbie

    Joined:
    Jan 27, 2008
    #5
    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?


     
  6. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #6
    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.
     
  7. azula thread starter macrumors newbie

    Joined:
    Jan 27, 2008
    #7
    thx angelwatt

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



     
  8. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #8
    Inside the head tag.
     
  9. azula thread starter macrumors newbie

    Joined:
    Jan 27, 2008
    #9
    im going to try right now...

     
  10. azula thread starter macrumors newbie

    Joined:
    Jan 27, 2008
    #10
    GREAT Angel :eek:

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

    you are an angel

    THX A LOT
     
  11. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #11
    Glad it worked. I remember it took me some searching to figure it out the first time I tried it myself.
     
  12. azula thread starter macrumors newbie

    Joined:
    Jan 27, 2008
    #12
    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
     
  13. ezekielrage_99 macrumors 68040

    ezekielrage_99

    Joined:
    Oct 12, 2005
    #13
    Also make sure that the gif isn't transparent. I found out that one the hard way...
     

Share This Page