Logo next to url?
- FreelanceFlashGames
-
FreelanceFlashGames
- Member since: Oct. 17, 2007
- Offline.
-
- Forum Stats
- Member
- Level 18
- Blank Slate
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
Make a 16x16 image, save it as a .ico, name it "favicon.ico" and put it in the directory of your website.
- FreelanceFlashGames
-
FreelanceFlashGames
- Member since: Oct. 17, 2007
- Offline.
-
- Forum Stats
- Member
- Level 18
- Blank Slate
Freelance Flash Games
-Offering unique games and content.
- buotin
-
buotin
- Member since: Jan. 3, 2008
- Offline.
-
- Forum Stats
- Member
- Level 02
- Blank Slate
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
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.
- FreelanceFlashGames
-
FreelanceFlashGames
- Member since: Oct. 17, 2007
- Offline.
-
- Forum Stats
- Member
- Level 18
- Blank Slate
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
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.
- buotin
-
buotin
- Member since: Jan. 3, 2008
- Offline.
-
- Forum Stats
- Member
- Level 02
- Blank Slate
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
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
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.
- buotin
-
buotin
- Member since: Jan. 3, 2008
- Offline.
-
- Forum Stats
- Member
- Level 02
- Blank Slate
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
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.
- smulse
-
smulse
- Member since: Mar. 24, 2005
- Offline.
-
- Forum Stats
- Member
- Level 31
- Blank Slate
My apologies to buotin for sounding like a prick.
- DannyIsOnFire
-
DannyIsOnFire
- Member since: Apr. 14, 2005
- Offline.
-
- Forum Stats
- Member
- Level 21
- Movie Buff
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.
- elbekko
-
elbekko
- Member since: Jul. 23, 2004
- Offline.
-
- Forum Stats
- Member
- Level 16
- Blank Slate
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 ]
- henke37
-
henke37
- Member since: Sep. 10, 2004
- Offline.
-
- Forum Stats
- Member
- Level 30
- Blank Slate
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
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
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.
- smulse
-
smulse
- Member since: Mar. 24, 2005
- Offline.
-
- Forum Stats
- Member
- Level 31
- Blank Slate
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.



