Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Designing > Graphics and Multimedia
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2008, 03:03 PM
Member
 
Join Date: Aug 2005
Posts: 88
Default How do you get an image in the top browser bar?

Hello, Ive been trying to find this one out, but cant find anything about it...

Ive knoticed that many websites have a image on the browser bar which replaces the browsers default image, for instance, where there would be a e for interenet explorer, there is a sitepoint logo.

How do you do that? what type of image should be used? and what size image?

Its proberly a really easy stupid question, but i havent been able to find the answer anywhere.
Thanks
__________________
md
AskAGeek.com - Where geeks answer your computer and tech questions.
Ann-Lindsey.com - My Wife's Budget Fashion and Shopping Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-14-2008, 04:21 PM
BigAlReturns's Avatar
Moderator Extraordinaire!
 
Join Date: Dec 2007
Location: The Wirral, England
Posts: 291
Send a message via MSN to BigAlReturns
Default

They're called Favicons, and they're simple to do. The best way to do is to use a tool like the one here, where you upload an image and it converts it into the right size for you. Then just save it as favicon.ico in the root of your website and you're done.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-14-2008, 05:12 PM
Member
 
Join Date: Dec 2007
Location: Dirty South!
Posts: 40
Send a message via ICQ to famousartguy Send a message via AIM to famousartguy Send a message via MSN to famousartguy Send a message via Yahoo to famousartguy
Default

yes use a site to create a favicon - but place this tag in the head of your web page document:

<link rel="shortcut icon" type="image/x-icon" href="[path to favicon.ico]" />

Usually a 16x16 px works best--from what I have heard.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-14-2008, 06:28 PM
BigAlReturns's Avatar
Moderator Extraordinaire!
 
Join Date: Dec 2007
Location: The Wirral, England
Posts: 291
Send a message via MSN to BigAlReturns
Default

Quote:
Originally Posted by famousartguy View Post
yes use a site to create a favicon - but place this tag in the head of your web page document:

<link rel="shortcut icon" type="image/x-icon" href="[path to favicon.ico]" />

Usually a 16x16 px works best--from what I have heard.
I didn't know about those tags - so I did some searching and you're right, although most browsers will recognise it from the root directory alone, the best option is to include a tag, as some browsers need this. In fact one website recommended two different tags, shown below. They didn't include the type="image/x-icon" part, but that's probably just another thing to ensure compatibility. So to integrate famousartguys tags, I'd go with these:
HTML Code:
   <link rel="shortcut icon" type="image/x-icon" href="http://www.site.com/favicon.ico" />
   <link rel="icon" type="image/x-icon" href="http://www.site.com/favicon.ico" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 09:57 AM
Member
 
Join Date: Dec 2007
Location: Dirty South!
Posts: 40
Send a message via ICQ to famousartguy Send a message via AIM to famousartguy Send a message via MSN to famousartguy Send a message via Yahoo to famousartguy
Default

Yes favicons are really nice for identifying your site and keeping your logo visually sticky to your site visitors.

Another cool thing is you can make animated gifs and use those for your favicon! Like this -->

Code:
<link rel="icon" href="images/animated_favicon.gif" type="image/gif" >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 11:50 PM
ryanhellyer's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 707
Default

Quote:
Originally Posted by famousartguy View Post
Another cool thing is you can make animated gifs and use those for your favicon! Like this -->

Code:
<link rel="icon" href="images/animated_favicon.gif" type="image/gif" >

I'm not 100% sure, but AFAIK some browsers don't support .gif as a favicon as .ico is the web standard file format for favicons.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:58 AM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.