Skip to main content

Favicon Tutorial: Display Your Logo on Browser Address Bar or Favorites Menu



DI Reader Aboli Salvi is looking for ways to add a favicon [or bookmark icon] to her blog [like the ones you see in the screenshot above]
I am trying to change the favicon for my blog. But not much information is available on the net. Could you please post about how to go about doing this?
Favicon is basically a tiny 16x16 .ico graphic file which is displayed in the browser address bar, links bar, desktop internet shortcuts, favorites menu, browser tabs and also next to your blog feed in RSS readers. While most favicons are static images, some new browsers now support animated GIFs or the transparent PNG formats [alpha channel].

Before we get into the process of creating favicon ico files and putting them to our blogs, here are some common myths that are really not true:

1. You don't need the expensive Photoshop or Corel Draw to create .ico files.

2. The favicon .ico files can have any file name and you are not limited to favicon.ico

3. While .ico is short for Windows icon, your favicons should appear perfect in Mac and other non-Windows systems.

4. Favicons can be created from pictures or even text but if you want to have those professional looking aqua style 3d icons, consider investing in Microangelo Icon Editor.

5. Like logos and web graphics, icons are also under copyright laws. While there are tons of programs that would let you extract ico files from Microsoft Office executables or dll files, think twice before putting them on your own site.

6. For basic icon editing, Irfanview with icon plugin is good enough for most of us.

OK, now let's get to the basics of creating favicons for your blog:

Step 1: Choosing a picture for favicon

While you can create a favicon from an image of virtually any size, it is not a good approach as the image would be squeezed to a 16x16 graphic and people won't be able to make any sense out of it.

What I would suggest is that you open your picture or logo in any photo editing software [like Picasa, Paint.NET or online image editors] and crop the image in 1:1 proportion of lenght:width keeping only the relevant portions.

For instance, if you want to show your own picture as the favicon, you might trim down everything other than your face. If you decide to have your full body and also the trees in the background, that would make your favicon less appealing.

Step 2: Creating a favicon from the picture

This is the easiest part though most people think otherwise. Once you have the image ready from step 1, upload your picture here [Favicon from Pics] and click generate favicon.ico

You will immediately get a zip file containing some four files including the favicon.ico. Extract that lone file to your hard disk and you might also rename it while keeping the ico extension inact.

Step 3: Upload the favicon file to your web server

If you have your own web space, you can upload the file their but if you are using a free blog service like Blogger, you may use Googlepages to host that favicon file. Once uploaded copy the web location of the file which will be required in the next step.

Step 4: Modify your blog template, publish

This is the last step. We might have to do some HTML coding but it's very simple and even your mom should be able to do it.

Right inside the <head> section, you may find some meta tags and link tags. Leave them as such and look for the line that says </head>

Just above the closing head tag, add the following lines:

<link rel="icon" href="www.abc.com/myicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="www.abc.com/myicon.ico" type="image/x-icon" />

The value of href will have the full permanent link of the ico file which you copied in Step 3.

Now press the save button and republish your blog template.

When you decide change your blog favicon in future, you can just replace the icon file with another version. If you keep the file name same, you may not have to make any changes to your blog templates - the changes will propogate automatically. Now how cool is that.

Popular posts from this blog

How to Download Contacts from Facebook To Outlook Address Book

Facebook users are not too pleased with the "walled garden" approach of Facebook. The reason is simple - while you can easily import your Outlook address book and GMail contacts into Facebook, the reverse path is closed. There's no "official" way to export your Facebook friends email addresses or contact phone numbers out as a CSV file so that you can sync the contacts data with Outlook, GMail or your BlackBerry. Some third-party Facebook hacks like "Facebook Sync" (for Mac) and "Facebook Downloader" (for Windows) did allow you to download your Facebook friends' names, emails, mobile phone number and profile photo to the desktop but they were quickly removed for violation of Facebook Terms of Use. How to Download Contacts from Facebook There are still some options to take Friends data outside the walls of Facebook wall. Facebook offers the Takeout option allowing you to download all Facebook data locally to the disk (include...

Firefox Keyboard Shortcuts for Power Users

All features in Mozilla Firefox browser are accessible through the use of the keyboard. You can use shortcut keys to view and save Web pages, search the web, open new webpages, work with bookmarks, or find text on the current webpage. Some of the most common keyboard shortcuts in Mozilla Firefox are Ctrl+N (to open a new Firefox window), Ctrl+T (to open a new tab), Ctrl+F4 (to close the current tab) and Ctrl+S to save the current webpage. Mozilla Firefox supports many more powerful keyboard shortcuts. For instance, by pressing a simple key combination, you can manually delete autocomplete entries from the Firefox location bar or Web forms. I am sharing a list of my favorite Mozilla Firefox Keyboard Shortcuts that make web browsing with Firefox even more fun . And you also save your precious time as navigating through several layers of Firefox Toolbar menus is no longer necessary. 1. Web Search Ctrl+K moves the cursor to the Search Bar. You can then type in the terms you wish to fin...

Digital Inspiration

Digital Inspiration is a popular tech blog by  Amit Agarwal . Our popular Google Scripts include  Gmail Mail Merge  (send personalized emails with Gmail ),  Document Studio (generate PDFs from Google Forms ) and   File Upload Forms ( receive files  in Google Drive). Also see  Reverse Image Mobile Search , Online Speech Recognition and Website Screenshots , the most useful websites on the Internet.