You want to create an icon for your website (which is displayed in the browser's location bar). You already know, that you have to place a file called favicon.ico in your web server's document root directory. But how can you create one?
You need an image file that GIMP can open (PNG, GIF, etc.). And you need the command line tool ppmtowinicon from the netpbm-tools (on SuSE you have to have installed the package netpbm). Now perform the following actions:
> ppmtowinicon -output favicon.ico favicon.pnmresp.
> ppmtowinicon -output favicon.ico favicon.ppm
That's all. Now copy your favicon.ico to the document root of Apache, for example to /srv/www/htdocs/favicon.ico, if you are using SuSE Linux >= 8.1.
Keywords: favicon ico windows icon homepage netpbm ppmtowinicon winicon Author: Mathias Kettner
Tauschzone MK |