473,669 Members | 2,504 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

favicon.ico


Content-Transfer-Encoding: 8Bit
Usually I know at least some of the answers, but this
time I am all questions... :(

A thread over in alt.html got me thinking and doing a bit
of research about the different ways of constructing a
favicon.ico file -- specifically, including multiple
sizes, resolutions, and color depths. There is a large
amount of conflicting information on the web about this.

From what I have read it looks like even a 256×256x32-bit
(24 bit RGB, 8-bit alpha channel) compressed PNG could
end up being used if a Vista user creates a shortcut to
a webpage on the desktop and then uses the zoom feature.
As for color, see
http://www.informationgift.com/ud/faviconic/
for a taste of what a mess this is on different browsers.

Just to confuse the issue further, there is talk about
non-square favorites icons on some old (As in Window
95/98 old) sites, but nothing about it on newer sites,
and I remember seeing some double-wide bookmark icons
on one system -- perhaps on NT server? Don't know if
they would display on newer OSs/browsers.

There is also a lot of confliction information on what
mime-type to use: I have seen the following (many of
which are surely bogus):

image/vnd.microsoft.i con
image/x-icon
application/octet-stream.
image/ico
image/icon
text/ico
application/ico

The first one is correct according to the standards, -- see
http://www.iana.org/assignments/medi...microsoft.icon
-- but I keep hearing about many browsers not supporting it.

Another area where there is a lot of conflicting information
is on the subject of wheter to use link rel="Shortcut Icon",
link rel="icon", or both, with some comments claiming that
it matters which comes first.

Then there is http://www.xvsxp.com/interface/icons.php , which
talks about the differences beween XP icons and OS X icons.
it doesn't mention favicons; are they different as well?

And what about Vista? Look at "Windows Vista Icons Support" in
http://www.codeproject.com/KB/cs/IconLib.aspx and see how
different they are.

Part of me says to just create a single 16x16x4-bit favicon
using web-safe colors. Another part of me says to make
a multi-image file with every size, resolution and color
depth combination that I can verify is used by some browser
or in some OS destop/directory shortcut. What say you?

Guy Macon
<http://www.GuyMacon.co m/>

Oct 27 '08 #1
0 1806

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
14160
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
7
5021
by: Bart | last post by:
Hi there, If I use frames, should a reference to the favicon.ico (like: <link rel="shortcut icon" href="pictures/favicon.ico" type="image/x-icon">) be placed on _every page_, or is one reference in the index.htm (top-frame) enough. I'm asking this question because I had a reference in my top-frame only, wich seemed to work OK (the favicon showd in the adress-bar in all frames), but all of a sudden the favicon won't show anymore in the
1
2177
by: Robert Oschler | last post by:
I have a 16 color 16 x 16 pixel icon (favicon.ico); 4-bit palette. I have put the icon in the root directory of my web site, and I have also added the <link rel="SHORTCUT ICON" ... /> HTML tag in the document header section. The icon appears fine in FireFox's address bar, but refuses to show up in the notebook tab. The notebook continues to show the "blank document" generic icon. What am I doing wrong and how can I fix this?
2
1541
by: foldface | last post by:
Hi If I have a website with a url like http://localhost/MyWebPage/SomeDirectory/startPage.aspx Can I still use a favicon.ico file? For the entire Site? How? Its hard to experiment with favicon files as they seem to be quite hit and miss as to whether or not they appear Ta F
4
2954
by: Chameleon | last post by:
the extension of favicon MUST BE ico? what if I use a 16x16 favicon.png?
15
2908
by: BT | last post by:
I'm have a problem showing a favicon in ver 1.7.10. It shows up correctly in the address bar, but is missing from the tab. I've tried each of these HTML 'statements' to add the favicon to the page, but no luck: <link rel="shortcut icon" href="/favicon.ico" > <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> FWIW, it seems to render OK in IE v6.0. I haven't tried it in FFox 2.0 yet, but I'll need it to work there...
2
4206
by: alice | last post by:
I'm trying to create a favicon which I've done before, and it just won't show up. I've even saved the file as a gif and entered the URL of where the file is according to my FTP program, and I get a File Cannot Be Found error. I've copied the pixels from the file and pasted them into a favicon that is working and showing up, renamed it by just adding a number to the end, and still it won't show up, either as an .ico or a .gif. So I've...
4
3048
by: mistral | last post by:
Does it possible change favicon icon depending on browser type: display favicon.ico for Internet Explorer browsers, and favicon.gif for the rest browsers? Problem is that ugly MSIE can display only .ICO favicons, whereas other browsers support any favicon type - gif, png, jpg. Since gif favicons has much better quality than ico file, I'm wondering does it possible sort browsers with javascript and show appropriate favicon type for...
0
1362
by: Gabriela | last post by:
Hi, I want to display favicon from different domains on my page. I wrote this line (domain is a variable): <span style="background-image:url('domain/favicon.ico');width: 16px;height:16px;"></span> Is there a way to display empty favicon when a certain domain does not have a favicon? is there a way to know it without round trip to the domain to check it in advanced? Thanks, Gabi.
0
2786
by: Guy Macon | last post by:
Moon wrote: It isn't a question of relative vs. full URL paths in your meta tags. It is a question of following the paths (relative or full URL) in your meta tags vs. not reading the meta tags at all and just looking for the favicon in the root. The standard behaviour is defined here: http://www.w3.org/2005/10/howto-favicon ] (The examples have full URLs but of course relative URLs
0
8465
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8588
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4386
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2797
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.