Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

eolson03

macrumors newbie
Original poster
Jul 22, 2002
2
0
colorado
I am a web programmer and I was wondering how you get an image to show up in the address bar of the safari browser? Any leads would be great
 
there was a thread about this a few weeks ago u may want to run a search if your in a hurry.
 
you just need to make a 32x32 pixel image and save it as favicon.ico
you'll need a special app for creating the file, try iconfactory.com to get that.
then just place the file in you websites root directory.
 
Originally posted by tjwett
you just need to make a 32x32 pixel image and save it as favicon.ico
you'll need a special app for creating the file, try iconfactory.com to get that.
then just place the file in you websites root directory.


no! I've got a .gif file at one of my sites. Just make sure its the right size - 16x16 (not 32) and you can use a line of html code on your page

Code:
<HEAD>
  <LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
  <TITLE>My Title</TITLE>
</HEAD>

Good luck,

D
 
Originally posted by dukestreet
no! I've got a .gif file at one of my sites. Just make sure its the right size - 16x16 (not 32) and you can use a line of html code on your page

Code:
<HEAD>
  <LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
  <TITLE>My Title</TITLE>
</HEAD>

Good luck,

D

oh right sorry, 16 x16. i didn't know you could use a gif! never seen that tag either. learn something new everyday.
 
Since this topic has come up again, I have a question. I made a shortcut icon as a GIF with a transparent background. It looks great in Mozilla/Netscape. I made an ICO version for Internet Explorer, but it looks lousy because it does not have a transparent background.

I could solve the problem by redesigning the icon to not require a transparent background to look good, but I want to know the following before I give up and do so:

(1) Is there a way to get I.E. to display a shortcut icon with a transparent background?

(2) Could I get I.E. to use the ICO version and Mozilla/Netscape to use the GIF version if I put favicon.ico at the root of my web site but used link rel="icon" href="http://whatever/myicon.gif" in each web page?
 
Good timing by Apple.

The new Safari Developer FAQ covers key web development issues
relevant to Apple's new browser, including user-agent strings,
plug-in support, DHTML support, favicons, and more. Find this
constantly updated resource on the ADC Internet Developer site.

I'm sure you could try using other software besides the Adobe stuff as it's obviously too slow on the mac now...;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.