Reputation: 2589
I have to set favicon for my website but icon always looks very bad in windows taskbar although I use icon 130x130
My html:
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
How it looks:
Amazon icon was taken just as example.
Icon was created by icon plugin for Paint.NET. Also i tried to create icon with 128x128 and 64x64, result was worse. Also i tried to use 256x256 result is better, but still is pixelated. But if i create link on this page on task bar icon will be fine.
Can someone help me?
Upvotes: 0
Views: 3332
Reputation: 1
Use favicon as .svg (vector) file instead of .png it will definitely work and not pixealated.
Upvotes: -1
Reputation: 2197
A single link like this isn't enough, browsers won't just automatically resize and use the favicon appropriately. Try following this nice favicon cheat sheet.
Upvotes: 1
Reputation: 41378
Microsoft recommends to put three pictures in the favicon.ico
file: 16x16, 32x32 and 48x48. IE is able to pick the suitable one. Chrome and Firefox use a PNG icon, declared with:
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
This favicon generator produces such favicon.ico
and PNG icons. The end result is fine. When adding an icon to the task bar, IE uses the 32x32 picture, Chrome the 196x196 PNG picture and Firefox the 32x32 PNG picture. Full disclosure: I'm the author of this site.
Upvotes: 3
Reputation: 164
Standard icon size is 16X16 px. or 32X32 px. so use this size. favicon (due CSS3) needn't be in .ico file. Just try to use .png file
Upvotes: 0