Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Berumen354

6 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

I had a little trouble creating my .ico file with the GIMP, but this post gives detailed instructions. The trick appears to be saving as GIF format first to convert to an indexed colour table, and then convert that to ICO format.

10% popularity Vote Up Vote Down


 

@Ravi8258870

You don't need a link anymore, but it's useful. Instead, so long as you leave the file named favicon.ico (and it's an ico) in your root, it'll be used as the favicon.

10% popularity Vote Up Vote Down


 

@Bryan171

Markup with full domain http path for IE and keep favicon in document folder:

<link rel="shortcut icon" href="http://www.your-site-domain/favicon.ico">


Standard image format:


.ico
16 x 16 pixels

10% popularity Vote Up Vote Down


 

@Candy875

You can use a tool like www.favicon.cc/ to importe a picture and convert it into a favicon, or just create it from scratch.

After that, if you name your file favicon.ico and put it at the root of your website, most of the web-browsers get it automatically.

But you can also explicitly declare it in your html files like this:

<link rel="shortcut icon" type="image/png" href="path/to/your/favicon.png" />


With the advantages to use other format than ico, use differents favicons on differents pages, put your favicon to an other place, use an other name than favicon etc.

10% popularity Vote Up Vote Down


 

@Correia994

To work in all browsers, .ico is preferred, as for the size, 32x32 is the most widely used, 16x16 also works (this is the actual size used in the browser in most places).

Also not in your question, they should be 8 or 24bit color depth.

It may be worth noting, if you plan on iWhatever users bookmarking your site, that's a separate <link> for the image, for example StackOverflow's:

<link rel="apple-touch-icon" href="http://sstatic.net/stackoverflow/img/apple-touch-icon.png">


Which is:
SO Touch Icon sstatic.net/stackoverflow/img/apple-touch-icon.png

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme