Results 1 to 9 of 9

Thread: Icon of a webpage.....

  1. #1
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Default Icon of a webpage.....

    Hi,

    Background:
    when u add a webpage to your favorites, some of the pages have icons.

    I'm using this script :
    onclick="window.external.AddFavorite('http://www.WEBSITE.com','The Best Ever...');

    How do i add an Icon to my web page?


    thanx

    Niv

  2. #2
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Default Icon of a webpage.....

    Hi,

    Background:
    when u add a webpage to your favorites, some of the pages have icons.

    I'm using this script :
    onclick="window.external.AddFavorite('http://www.WEBSITE.com','The Best Ever...');

    How do i add an Icon to my web page?


    thanx

    Niv

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You need to add the icon image (Favicon) in your site so when the user views or adds the site url then that icon will be perpended before the URL/title.

    Below I've mentioned some URLs through you can learn about adding a favicon to your website

    http://www.digitalsurvivors.com/archives/000434.php
    http://www.w3.org/2005/10/howto-favicon
    http://en.wikipedia.org/wiki/Favicon

  4. The Following User Says Thank You to codeexploiter For This Useful Post:

    Niv Hamagniv (07-22-2008)

  5. #4
    Join Date
    Jul 2008
    Location
    Johannesburg, South Africa
    Posts
    31
    Thanks
    1
    Thanked 10 Times in 10 Posts

    Default

    You need to create an icon called favicon.ico...

    The following instructions were taken off http://www.hypergurl.com/favicon.html:

    To make your own favicon, first make a graphic 16x16 pixels in no more than 16 colors. Save it as a bmp.

    You will then need a graphics program which can change a bmp into an icon. I recommend Irfanview.

    It should only take a couple of minutes to download!
    Use this program to change your bmp image into an icon. Name it favicon.ico then upload it to your server.

    You then need to add the following code to the <head> tag of your html :

    HTML Code:
    <link rel="SHORTCUT ICON" href="http://www.yoursite.com/favicon.ico">

  6. The Following User Says Thank You to GarethMc For This Useful Post:

    Niv Hamagniv (07-22-2008)

  7. #5
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

  8. The Following User Says Thank You to codeexploiter For This Useful Post:

    Niv Hamagniv (07-22-2008)

  9. #6
    Join Date
    Jun 2006
    Posts
    182
    Thanks
    0
    Thanked 14 Times in 14 Posts

    Default

    You need to have the following in the head section of your page:
    HTML Code:
    <link rel="shortcut icon" href="file.ico" />
    or you can just put a file named favicon.ico into the root directory of your site, in which case most(?) browsers will detect it automatically.

  10. The Following User Says Thank You to DimX For This Useful Post:

    Niv Hamagniv (07-22-2008)

  11. #7
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    Another note to keep in your noggin is that your favicon more than likely won't show up right away. It can take up to a month (not likely) before it starts showing up when you and/or other people start viewing your site.

    So don't think you did something wrong, just give it some time.
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  12. The Following User Says Thank You to TheJoshMan For This Useful Post:

    Niv Hamagniv (07-22-2008)

  13. #8
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Default Thank you all.....

    you've been very helpfull.

    niv

  14. #9
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by Nyne Lyvez View Post
    It can take up to a month (not likely) before it starts showing up when you and/or other people start viewing your site.
    That's only with IE (especially pre-IE7), of course. Firefox should cache the icon right away. IE7 is much better with handling favicons than it's predecessors, but expect for it to take a while (probably closer to 14 days than a month).

    FYI: Firefox 3 (not sure this was supported pre Fx3), now supports any image type for the favicon.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •