Live data from Hacker News

Favicon Cheatsheet

github.com

21–30 of 55 posts

Re: Favicon Cheatsheet

#21
Here's an idea for an app:

1. Upload a large, centered image, and have it spit out all of these different sized, optimized favicon images for me.

The initial image should be large enough to accommodate all lower sizes.

Any takers? :)

Re: Favicon Cheatsheet

#23

For what its worth i made a tool a while back that takes a big image and makes a bunch of sizes for you as well as the code etc. I've not touched it in over a year but it still gets used every now and again. http://allthefavicons.com/

I remember this from the the original hacker news thread and still use it. Anything 'real' gets custom rendered icons for each size, but for side projects where the icon quality isn't critical it's very convenient.

Re: Favicon Cheatsheet

#25
I think I'm going to vomit if I see another web page written in the 21st century that condones the use of ICO format.

Please, please, please can we have some kind of multi image PNG format ?

How about multiple PNG images wrapped in a TIFF container ?

With cross browser support, pretty please.

Anything but ICO. ICO format is nasty.

Re: Favicon Cheatsheet

#27
post #25

I think I'm going to vomit if I see another web page written in the 21st century that condones the use of ICO format. Please, please, please can we have some kind of multi image PNG format ? How about multiple PNG images wrapped in a TIFF container ? With cross browser support, pretty please. Anything but ICO. ICO format is nasty.

That's what I thought too, until I did more research on ICO and couldn't come up with an answer for "Why use png in addition to ico?" in the FAQ (well, except for touch devices where ico isn't supported). Notice how that FAQ question is empty.

But if you could submit a pull request with a bulleted list of PNG advantages over ICO, I'd be happy to include it. Seriously.

Re: Favicon Cheatsheet

#28

This collection of vendor-specific hacks is an excellent demonstration of the failure of the Web standards process.

>an excellent demonstration of the failure of the Web standards process

After reading the wikipedia article, it appears that IE is the only browser that doesn't support the W3C standard.

It's high time to stop supporting the monstrosity that is IE. All webapps and websites should be built for standards-compliant web browsers, and prompt the user to install one if they are on IE, and simply refuse to work otherwise.

The success of the web standards process is in users hands, and what users do is in developers' hands.

Re: Favicon Cheatsheet

#29
post #9

Here is my solution to the "problem". In Nginx config: location = /favicon.ico { return 204; access_log off; error_log off; }

Those of us who like to bookmark sites on our bookmarks toolbar without any text will find your suggestion very annoying.

This is exactly what I do, too. I've got the Bookmarks Toolbar in Firefox with just favicons all the way across. I don't need the text alongside and prefer to remove it to fit more icons instead.

Re: Favicon Cheatsheet

#30
post #27
post #25

I think I'm going to vomit if I see another web page written in the 21st century that condones the use of ICO format. Please, please, please can we have some kind of multi image PNG format ? How about multiple PNG images wrapped in a TIFF container ? With cross browser support, pretty please. Anything but ICO. ICO format is nasty.

That's what I thought too, until I did more research on ICO and couldn't come up with an answer for "Why use png in addition to ico?" in the FAQ (well, except for touch devices where ico isn't supported). Notice how that FAQ question is empty. But if you could submit a pull request with a bulleted list of PNG advantages over ICO, I'd be happy to include it. Seriously.

PNG is a properly specified format with written documentation.

ICO has many undefined and assumed values.

The only reason you would use ICO for favicons instead of PNG is that it supports multiple images.

Post reply on HN