How do I get a small graphic by my domain name?

Discussion in 'HTML & Website Design' started by M.K.Jackson, Jul 28, 2007.

  1. #1
    I've noticed some sites have a small graphic by their domain name
    http://www.artofapproaching.com/
    (that is also saved by the bookmark)...how do you get one of those?
     
    M.K.Jackson, Jul 28, 2007 IP
  2. themasterplan

    themasterplan Peon

    Messages:
    83
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That's called a favicon, you need to have one first (it's an image in a .ico format) and then put a piece of code in the header of your html and you're done. If you search for "favicon" here in the forums or using any search engine, you'll find plenty of data, don't worry.
     
    themasterplan, Jul 28, 2007 IP
  3. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #3
    name it favicon.ico and put it in the folder
     
    PowerExtreme, Jul 28, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Actually you don't need to put the code in the HEAD section of your Web page. Just drop it in the root folder of your Web site and the browser will pick it up when the server sends it with the rest of the Web page.
     
    Dan Schulz, Jul 28, 2007 IP
  5. lans2gt

    lans2gt Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    yep that's a favicon.ico
     
    lans2gt, Jul 29, 2007 IP
  6. sogastic

    sogastic Peon

    Messages:
    202
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thats right. But if the facicon.ico is in the subfolder you need code in the head section.
     
    sogastic, Jul 29, 2007 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It should be in the root directory though. If you look at your server logs, you'll notice a bunch of 404 errors for the /favicon.ico file if it's not in the root folder.

    Avoiding those false positives (same with the lack of a robots.txt file there as well) is a wonderful thing for those of us who actually look at our server logs on a regular basis (which should be everyone who has reasonable access to them).
     
    Dan Schulz, Jul 29, 2007 IP
  8. sogastic

    sogastic Peon

    Messages:
    202
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Oh didn't know that. Joomla uses facicon.ico in subfolder and needs code in head.
     
    sogastic, Jul 29, 2007 IP