[Gllug] OT: ico

Richard Jones rich at annexia.org
Sat Jun 24 08:45:44 UTC 2006


On Sat, Jun 24, 2006 at 07:48:26AM +0100, SteveC wrote:
> How do you go about creating a .ico file that works?
> openstreetmap.org/favicon.ico was created in the gimp. It works in
> firefox on the address bar but not in the bookmarks. It doesn't work in
> safari or IE.

Not sure about IE, but for Safari it might well be a problem with the
HTML <head> you sent.  For cross-platform support of favicons, you
need to send:

<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="SHORTCUT ICON" href="/favicon.ico" type="image/x-icon" />

The particular favicon.ico on that site only includes a single version
of the icon (16x16 256 colours).  You might try adding more variations
(different sizes) to see if that helps.  On Debian there is a package
called 'icoutils' that contains a command line tool called 'icotool'
which I've used before.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list