Unable to Change Favicon with Express.js

This is a really basic question, but I’m trying to change the favicon of my node.js/Express app with app.use(express.favicon(__dirname + ‘/public/images/favicon.ico’)); and I’m still getting the default favicon. This is in my app.configure function, and yes, I’ve verified that there is a favicon.ico in the /public/images/favicon.ico.There’s nothing about a favicon.ico in the console, either, which … Read more

Where do I put my favicon with Hugo

I am using Hugo to generate a static site. Where should I put my favicon.ico file? Answer Put the favicon inside of the static directory. The static directory sits in the root of your hugo site. When you generate your site, the favicon will be copied into public, the root of the generated site. AttributionSource … Read more

How to animate a favicon?

How to animate a favicon like that? It seems to work only in Firefox. Answer While it’s currently only supported by Firefox other browsers will hopefully support it in the future. To achieve the effect, you need to upload the gif to your server and then add the line below to head section of your … Read more

HTML5 ``

The WHATWG document for HTML5 says that the rel attribute must contain values that are space-separated, and then it gives a table of allowed values. The attribute’s value must be a set of space-separated tokens. The allowed keywords and their meanings… The list of allowed keywords for the link element does not include shortcut, but … Read more

favicon not displayed by Firefox

Locked. There are disputes about this question’s content being resolved at this time. It is not currently accepting new answers or interactions. I DO know this question has been asked at least a thousand times in this website alone, but I HAVE read many of those threads, I DO consider myself very knowledgeable and rarely … Read more

What are the correct pixel dimensions for an apple-touch-icon?

I’m not sure what the correct size should be. Many sites seem to repeat that the apple-touch-icon should be 57×57 pixels but cite a broken link as their source. Hanselman‘s and playgroundblues‘s comments suggest different sizes including 163×163 and 60×60. Apple’s own apple.com icon is 129×129! See my related question: How do I give my … Read more

Converting GIF’s, PNG’s and JPG’s to .ICO files using Imagemagick

From: JPG, To: ICO; /usr/bin/convert -resize x16 -gravity center -crop 16×16+0+0 input.jpg \ -transparent white -colors 256 output/favicon.ico This is the output for the command line. From: GIF’s, PNG To: ICO; /usr/bin/convert -resize x16 -gravity center -crop 16×16+0+0 input.png \ -flatten -colors 256 output/favicon.ico I am having issues with transparency. I can’t seem to get … Read more