random web question
-
- Grand Pooh-Bah
- Posts: 6722
- Joined: Tue Sep 19, 2006 8:45 pm
- Location: Portland, OR
- Contact:
random web question
hey, you know how some sites have a little icon? what are those things called? how do you specify them? is it html or a server thing or what?
It's called the favicon. You can probably see in your server logs that there are a lot of requests for /favicon.ico, which likely doesn't exist. It's an icon file, in standard Windows .ico format, which contains various sized images. You should make sure that, at a minimum, it contains both 16x16 and 32x32 pixel versions of your icon. Ideally, you provide a wide range of sizes and color depths, but I've found that you'll hit nearly everybody in the world with just those two sizes in 24-bit RGB.
Check http://www.telegraphics.com.au/sw/#icoformat, where you can download (Windows, Mac, and GPL source) ICO File Format, which is a Photoshop plugin to handle single-image .ico files. And you can also download ICOBundle from the same page to combine those into multi-image icon files.
By default, a browser will look for /favicon.ico, in your web server's root. But you can have each page specify its own favicon with an html tag in the header, and the browser should use that icon for all pages beneath it in the directory hierarchy.
Check http://www.telegraphics.com.au/sw/#icoformat, where you can download (Windows, Mac, and GPL source) ICO File Format, which is a Photoshop plugin to handle single-image .ico files. And you can also download ICOBundle from the same page to combine those into multi-image icon files.
By default, a browser will look for /favicon.ico, in your web server's root. But you can have each page specify its own favicon with an html tag in the header, and the browser should use that icon for all pages beneath it in the directory hierarchy.
Code: Select all
<link rel="shortcut icon" href="/favicons/sack.ico">
I just checked my bookmarks and my Mohtalim link shows the CNN icon. I've seen the bookmarks lose icons before, but never spontaneously borrow icons before now.
Anyway, Mohtalim needs its own icon, if only to differentiate itself from my CNN bookmark.
Anyway, Mohtalim needs its own icon, if only to differentiate itself from my CNN bookmark.
I feel like I just beat a kitten to death... with a bag of puppies.
lies, .ico is just .bmp renamed you big fat newb.
ok, just a tall newb
http://www.jonathan.pearce.name/dave/joe.ico
ok, just a tall newb
http://www.jonathan.pearce.name/dave/joe.ico
It takes 43 muscles to frown and 17 to smile, but it doesn't take any to just sit there with a dumb look on your face.
-
- Grand Pooh-Bah
- Posts: 6722
- Joined: Tue Sep 19, 2006 8:45 pm
- Location: Portland, OR
- Contact:
you lie. or bob lies. the important thing here is that it's not my fault.
http://www.jonathan.pearce.name/favicon.ico
http://www.jonathan.pearce.name/favicon.ico