Search

9/18/2008

Google's undocumented favicon to png convertor

Google's undocumented favicon to png convertor - http://www.google.com/s2/favicons?domain=www.wretch.cc

Showing the favicon of a domain next to a link is a really nice trick, but it’s slightly tricky to achieve as IE won’t display a .ico file if you link to it from an img element, so you need to convert the images server-side. This undocumented Google API does that for you, meaning it’s much easier to add favicons as a feature to your site.

沒有留言: