Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: icon in address bar

  1. #1
    Join Date
    Jul 2005
    Location
    Planet Earth
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default icon in address bar

    Hi,

    Could someone kindly let me know how an icon is inserted in the address
    bar, exacly as it is done for this website.
    Please also let me know what size the logo has to be and its dpi

    redice

  2. #2
    Join Date
    Aug 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    check out this link:
    http://tools.dynamicdrive.com/favicon/

    i think this will help you

    regards
    tom

  3. #3
    Join Date
    Jul 2005
    Location
    Planet Earth
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    cheers,
    let me have a look and get back to u

  4. #4
    Join Date
    Jul 2005
    Location
    Planet Earth
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i get an error

    Warning: md5_file(/tmp/phpeFNe3V): failed to open stream: Permission denied in /home/ddtools/public_html/favicon/indexalt.php on line 261

    Warning: file_get_contents(/tmp/phpeFNe3V): failed to open stream: Permission denied in /home/ddtools/public_html/favicon/indexalt.php on line 269

    Failed to read from uploaded file


    What could be wrong

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

  6. #6
    Join Date
    Aug 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    maybe you find an other fav icon generator somewhere

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There are plenty on the web, just Google favicon. The DD one should be back up soon. Also, you can make one with any decent icon editor, one which saves files to the .ico format.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Jul 2005
    Location
    Planet Earth
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    cheers all,

    so once the icons made....
    what next?

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Upload, then use:
    HTML Code:
    <link rel="icon" type="image/x-icon" href="/favicon.ico"/>
    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
    in each page to apply it to.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  10. #10
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey
    Upload, then use:
    HTML Code:
    <link rel="icon" type="image/x-icon" href="/favicon.ico"/>
    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
    in each page to apply it to.
    That's pretty ugly looking html code, Twey, though it may work with some browsers. The future is not now. Anyways, no code is needed as long as you upload the favicon.ico to the root of your domain (assuming you have your own domain). If not, each page needs to be assigned the icon but the syntax is much simpler:
    Code:
    <link rel="shortcut icon" href="favicon.ico">
    This goes in the head of the document. If the favicon.ico is not in the same directory as the page that you are linking it to, use an absolute path to the icon file:
    Code:
    <link rel="shortcut icon" href="http://www.somedomain.com/~mypages/favicon.ico">
    If you want to see the results of this in IE, be patient as it can take some time (days) to show up. You can usually coax it to show up by tugging at the default icon using a drag and drop motion a few times. Even so, it will probably disappear and reappear with a will of its own in IE. Other browsers will recognize and use it right away or after a single refresh unless something is wrong.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •