Be a Supporter!

Logo next to url?

  • 463 Views
  • 18 Replies
New Topic Respond to this Topic
FreelanceFlashGames
FreelanceFlashGames
  • Member since: Oct. 17, 2007
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Logo next to url? 2008-01-03 12:54:24 Reply

How do I put a logo next to the url of my site? For example, Newgrounds has a tank next to theirs. How would I go about doing that?


Freelance Flash Games
-Offering unique games and content.

smulse
smulse
  • Member since: Mar. 24, 2005
  • Offline.
Forum Stats
Member
Level 31
Blank Slate
Response to Logo next to url? 2008-01-03 12:57:16 Reply

Make a 16x16 image, save it as a .ico, name it "favicon.ico" and put it in the directory of your website.


BBS Signature
FreelanceFlashGames
FreelanceFlashGames
  • Member since: Oct. 17, 2007
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to Logo next to url? 2008-01-03 12:57:52 Reply

Thanks. =D


Freelance Flash Games
-Offering unique games and content.

buotin
buotin
  • Member since: Jan. 3, 2008
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Logo next to url? 2008-01-03 13:09:47 Reply

At 1/3/08 12:57 PM, smulse wrote: Make a 16x16 image, save it as a .ico, name it "favicon.ico" and put it in the directory of your website.

they're called favicons, which appears next to the URL when somebody views your site. in order to use the image you put in your directory, you have to add this code to the head tag in your index file:

<link ref="favicon" href="favicon.ico" />

not really.

smulse
smulse
  • Member since: Mar. 24, 2005
  • Offline.
Forum Stats
Member
Level 31
Blank Slate
Response to Logo next to url? 2008-01-03 13:16:55 Reply

At 1/3/08 01:09 PM, buotin wrote: they're called favicons, which appears next to the URL when somebody views your site. in order to use the image you put in your directory

I know what they're called, considering I already told him to call it "favicon.ico".

you have to add this code to the head tag in your index file: <link ref="favicon" href="favicon.ico" />

Also, no you don't.


BBS Signature
FreelanceFlashGames
FreelanceFlashGames
  • Member since: Oct. 17, 2007
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to Logo next to url? 2008-01-03 13:17:40 Reply

That code only needs to be put on the main index, right?


Freelance Flash Games
-Offering unique games and content.

smulse
smulse
  • Member since: Mar. 24, 2005
  • Offline.
Forum Stats
Member
Level 31
Blank Slate
Response to Logo next to url? 2008-01-03 13:18:39 Reply

At 1/3/08 01:17 PM, FreelanceFlashGames wrote: That code only needs to be put on the main index, right?

Nope, that guys chatting crap. You can include it in your pages if you want to, but you don't have to. There's not really much point considering it'll be picked up anyway, unless for some reason you wanted to change the icon on a certain page.


BBS Signature
buotin
buotin
  • Member since: Jan. 3, 2008
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Logo next to url? 2008-01-03 13:18:52 Reply

At 1/3/08 01:16 PM, smulse wrote: I know what they're called, considering I already told him to call it "favicon.ico".

that's good for you. I was clarifying for him to make sure he understood.

you have to add this code to the head tag in your index file: <link ref="favicon" href="favicon.ico" />
Also, no you don't.

it's good practice.


not really.

FreelanceFlashGames
FreelanceFlashGames
  • Member since: Oct. 17, 2007
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to Logo next to url? 2008-01-03 13:19:18 Reply

Sorry for double posting, but I'm a little confused now. Which one is right?


Freelance Flash Games
-Offering unique games and content.

smulse
smulse
  • Member since: Mar. 24, 2005
  • Offline.
Forum Stats
Member
Level 31
Blank Slate
Response to Logo next to url? 2008-01-03 13:23:04 Reply

At 1/3/08 01:18 PM, buotin wrote: it's good practice.

Yes, adding code that you don't need to a website has always been considered good practice.

They're both right, you don't need to add it into your HTML unless you really want to. There's not much point. Just put it in your directory and it'll work fine.

Idiotic confusing n00bs are idiotic and confusing.


BBS Signature
buotin
buotin
  • Member since: Jan. 3, 2008
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Logo next to url? 2008-01-03 13:25:55 Reply

At 1/3/08 01:23 PM, smulse wrote: Idiotic confusing n00bs are idiotic and confusing.

that was uncalled for, but okay, I guess you win on this one because I'm an idiotic confusing n00b.


not really.

That-Is-Bull
That-Is-Bull
  • Member since: Apr. 29, 2004
  • Offline.
Forum Stats
Member
Level 22
Blank Slate
Response to Logo next to url? 2008-01-03 13:45:06 Reply

if favicon.ico is in the directory, it'll show the icon in the fuck, but if the icon isn't named favicon.ico or you want to use a different icon or some shit, you need <link ref="favicon" href="favicon.ico" />

I assume. Or I could just be spewing shit out of my mouth. Which would be pretty fucking badass.


BBS Signature
smulse
smulse
  • Member since: Mar. 24, 2005
  • Offline.
Forum Stats
Member
Level 31
Blank Slate
Response to Logo next to url? 2008-01-03 13:47:23 Reply

My apologies to buotin for sounding like a prick.


BBS Signature
DannyIsOnFire
DannyIsOnFire
  • Member since: Apr. 14, 2005
  • Offline.
Forum Stats
Member
Level 21
Movie Buff
Response to Logo next to url? 2008-01-03 14:13:18 Reply

I think i read somewhere that certain browsers wont display it unless you have the line of code on the page.
But like Bull said, this could just be me talking crap.


|| Portfolio || Facebook || Twitter ||

BBS Signature
elbekko
elbekko
  • Member since: Jul. 23, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to Logo next to url? 2008-01-03 14:29:16 Reply

Most browsers will display it without that line of code. But it's still considered good practice to do so, as technically a browser shouldn't show anything it isn't told to.


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature
henke37
henke37
  • Member since: Sep. 10, 2004
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to Logo next to url? 2008-01-04 07:12:51 Reply

Am I too late to mention that icons in the ico format does not have to be only one image? Icons in that format is more complex than that.


Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.

Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to Logo next to url? 2008-01-04 08:00:11 Reply

google: favicon generator and there is a site whcih will turn your jpegs etc into a favicon. Also you can make it animated!


- Matt, Rustyarcade.com

f0rt
f0rt
  • Member since: Nov. 15, 2006
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to Logo next to url? 2008-01-05 11:06:27 Reply

At 1/3/08 01:18 PM, smulse wrote:
At 1/3/08 01:17 PM, FreelanceFlashGames wrote: That code only needs to be put on the main index, right?
Nope, that guys chatting crap. You can include it in your pages if you want to, but you don't have to. There's not really much point considering it'll be picked up anyway, unless for some reason you wanted to change the icon on a certain page.

Well lets say you have multiple directories, and you want to stick to one favicon.ico file? The code would become quite handy.


BBS Signature
smulse
smulse
  • Member since: Mar. 24, 2005
  • Offline.
Forum Stats
Member
Level 31
Blank Slate
Response to Logo next to url? 2008-01-06 11:06:01 Reply

At 1/5/08 11:06 AM, f0rt wrote: Well lets say you have multiple directories, and you want to stick to one favicon.ico file? The code would become quite handy.

No it doesn't, because the favicon will be in sub directories as well, unless a different favicon is in that folder.

Eg, samhulse.co.uk has a favicon
so does samhulse.co.uk/wp-admin/
yet my favicon.ico is only in the root, and is carried automatically into sub directories

To change it I don't need to add any code, I'd simply just drop a new icon into the /wp-admin/ folder. So, you're wrong. Don't try talk about something you know nothing about.


BBS Signature