Alientrap favicon

Post anything on anything here

Moderator: Moderators

Alientrap favicon

Postby obi_wan » Wed Jul 05, 2006 3:42 pm

Hi,

I noticed that there isn't any favicon on this forum... and i miss it :) so i did one (92 bytes)... if the site admin wants to use it, simply open it, save it as a .bmp and change the extension to .ico before placing it at the website root folder :

http://bureau.oligraphes.com/nexuiz/ali ... avicon.gif
[NSB] ppwer !
obi_wan
Alien trapper
 
Posts: 256
Joined: Mon Mar 13, 2006 9:24 am
Location: France

Re: Alientrap favicon

Postby tChr » Wed Jul 05, 2006 4:35 pm

obi_wan wrote:Hi,

I noticed that there isn't any favicon on this forum... and i miss it :) so i did one (92 bytes)... if the site admin wants to use it, simply open it, save it as a .bmp and change the extension to .ico before placing it at the website root folder :

http://bureau.oligraphes.com/nexuiz/ali ... avicon.gif

You are aware that a real .ico file is somewhat more complicated, right? I'll malre a proper one when i get home.
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby obi_wan » Wed Jul 05, 2006 5:31 pm

actually for a favicon that way works pretty fine ;)
... and no i didn't knew that there was a 'clean' manner to do it :)

so plz explain differences, you know i'm always happy to learn something ;)
[NSB] ppwer !
obi_wan
Alien trapper
 
Posts: 256
Joined: Mon Mar 13, 2006 9:24 am
Location: France

Postby tChr » Wed Jul 05, 2006 5:36 pm

The .ico file format was defined my MS and is thereby vcrappy, but iirc it works as follows:

It has a small header identifying it as an icon file.
It may contain 3 images, 16x16 px 32x32px and 64x64px. (why not make this "any size" or even better a vector)
the internal images are iirc bitmaps (windows style, drawn bottom, top, LSB first)
Color depth must be 8bit

I might remember wrong but i think this is about it.

if only one icon is in the file, you may ignore the header, and use a simple bmp file like you do, but its not very good to do it that way.

Edit:
You can also easily tell that the favico.ico standard is an MS invention because of its hoddible limitations:
The file _must_ be in the root dir of the webserver (thereby making it impossible to make different icons for different parts of the site)
it _must_ be called favicon.ico
if _must_ be a windows bitmap icon

idiots.

Efforts are being made to make a better standard out of this, and i think the following is now allowed and recognized by most browsers:
<link rel="Shortcut icon" href="/design/gardsplassen/images/favicon.ico" type="image/x-icon" />
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron