|
|
|
date: Tue, 25 Sep 2007 10:50:42 GMT,
group: uk.net.web.authoring
back
Favicons & IE7
I have had a problem getting a favicon to display in IE7 (Windows XP SP2),
and from Google I don't seem to be the only one. I tried the things I'd
seen suggested without any success - making the icon in different programs,
and putting different things in the html head. Also of course repeatedly
clearing the cache as these icons are extremely persistent.
The thing that eventually made it work for me was including a 32x32 pixel
icon as well as the 16x16 pixel icon in the favicon.ico file. However I
have also seen it recommended that it is better to have just the 16x16 icon!
I wonder if it might depend on the desktop display settings. Does anyone
have any more definitive information?
--
Tony W
My e-mail address has no hyphen
- but please don't use it, reply to the group.
date: Tue, 25 Sep 2007 10:50:42 GMT
author: Tony
|
Re: Favicons & IE7
"Tony" wrote;
>I have had a problem getting a favicon to display in IE7 (Windows XP SP2),
> and from Google I don't seem to be the only one. I tried the things I'd
> seen suggested without any success - making the icon in different
> programs,
> and putting different things in the html head. Also of course repeatedly
> clearing the cache as these icons are extremely persistent.
>
> The thing that eventually made it work for me was including a 32x32 pixel
> icon as well as the 16x16 pixel icon in the favicon.ico file. However I
> have also seen it recommended that it is better to have just the 16x16
> icon!
> I wonder if it might depend on the desktop display settings. Does anyone
> have any more definitive information?
I'm afraid I can't offer advice there but can I just ask what .ico creation
software you were/do recommend?
Advance Thanks,
Del
date: Tue, 25 Sep 2007 14:17:51 GMT
author: Del
|
Re: Favicons & IE7
<uk.net.web.authoring>
<Tony>
<Tue, 25 Sep 2007 10:50:42 GMT>
<6K5Ki.20022$c_1.17945@text.news.blueyonder.co.uk>
> I have had a problem getting a favicon to display in IE7 (Windows XP SP2),
> and from Google I don't seem to be the only one. I tried the things I'd
> seen suggested without any success - making the icon in different programs,
> and putting different things in the html head. Also of course repeatedly
> clearing the cache as these icons are extremely persistent.
>
<html>
<head>
<title>abc</TITLE>
<link href="abc" rel="stylesheet" type="text/css">
<link href="images/favicon.ico" rel="shortcut icon">
</head>
You dont say if you have tried the above .
It tends to work better than just putting favicon.ico in the root folder
of the website - although its probably a good idea to also do so .
--
(c) The Amazing Krustov
date: Tue, 25 Sep 2007 15:49:37 +0100
author: Krustov
|
Re: Favicons & IE7
<uk.net.web.authoring>
<Del>
<Tue, 25 Sep 2007 14:17:51 GMT>
<jM8Ki.33907$ka7.32948@newsfe4-gui.ntli.net>
> I'm afraid I can't offer advice there but can I just ask what .ico creation
> software you were/do recommend?
>
A .ico file is nothing more than a renamed .bmp file .
Lots of people use irfan for the conversion .
--
(c) The Amazing Krustov
date: Tue, 25 Sep 2007 15:50:57 +0100
author: Krustov
|
Re: Favicons & IE7
Krustov wrote:
> A .ico file is nothing more than a renamed .bmp file .
A lot of seemingly authoritative people say this isn't so. Apart from
anything else, an icon file can contain a number of different icons at
different resolutions. I suppose that the software opening the file will
select the most appropriate resolution to display.
For the benefit of someone else who asked: I have tried png2ico (name says
what it does) which is a DOS exe file, and ICOFormat which is a Photoshop
plug-in, but I used it with PaintShopPro 7. The advantage of the DOS
program is that it will put a number of icons at different resolutions in
the output file as described above. The plugin won't (although it will open
any icon from a multiple ico file). Both those are free and both are easy to
use.
--
Tony W
My e-mail address has no hyphen
- but please don't use it, reply to the group.
date: Tue, 25 Sep 2007 16:50:51 GMT
author: Tony
|
Re: Favicons & IE7
Krustov wrote:
> <link href="images/favicon.ico" rel="shortcut icon">
> You dont say if you have tried the above .
I sort of implied it by saying I had tried various things in the html head.
Ended up with
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />.
Oddly enough, I did try things that were recommended, although for all the
difference it made it might as well have been at random. For me, if it
works at all, it works just by putting favicon.ico in the root.
--
Tony W
My e-mail address has no hyphen
- but please don't use it, reply to the group.
date: Tue, 25 Sep 2007 17:28:27 GMT
author: Tony
|
Re: Favicons & IE7
On Tue, 25 Sep 2007 15:50:57 +0100, Krustov wrote in
:
>A .ico file is nothing more than a renamed .bmp file .
According to Microsoft, that is false.
See <http://msdn2.microsoft.com/en-us/library/ms997538.aspx> "Icons in
Win32" which describes the Microsoft ICO file format (as of 1995 - note
that the format as described is trivially extensible to allow more image
types). According to "Icons (What's New in Windows Vista)"
<http://msdn2.microsoft.com/en-us/library/aa511296.aspx> that
extensibility has been used to add 256x256 icons. If you hunt around a
bit it seems that the larger icons use PNG embedded in the ICO but as
usual the documentation from Microsoft is somewhat lacking.
See <http://support.microsoft.com/kb/q81498/> "DIBs and Their Uses" for
a description of BMP ("The file extension of a Windows DIB file is
BMP").
Note that these file formats are trivially distinguishable by reading
the first 2 octets of the file and it is not exactly rocket science to
write a program that works out what kind of image file it is dealing
with for most image formats by reading the first part of it. Putting a
BMP, GIF, JPG, whatever... at the /favicon.ico location may appear to
work when a browser retrieves it, but that does not make those formats
the same as ICO.
Those who use Irfanview may have seen the dialog that asks if you want a
'wrong' file extension fixed when it discovers that the actual image
format does not match what the file extension suggests.
--
Owen Rees
[one of] my preferred email address[es] and more stuff can be
found at <http://www.users.waitrose.com/~owenrees/index.html>
date: Wed, 26 Sep 2007 10:42:58 +0100
author: Owen Rees
|
Re: Favicons & IE7
"Tony" wrote in message
news:6K5Ki.20022$c_1.17945@text.news.blueyonder.co.uk...
>I have had a problem getting a favicon to display in IE7 (Windows XP SP2),
> and from Google I don't seem to be the only one. I tried the things I'd
> seen suggested without any success - making the icon in different
> programs,
> and putting different things in the html head. Also of course repeatedly
> clearing the cache as these icons are extremely persistent.
>
> The thing that eventually made it work for me was including a 32x32 pixel
> icon as well as the 16x16 pixel icon in the favicon.ico file. However I
> have also seen it recommended that it is better to have just the 16x16
> icon!
> I wonder if it might depend on the desktop display settings. Does anyone
> have any more definitive information?
If it's any consolation I am getting the same problem except not getting
anywhere with this 32x32 you mention.
In this case all pages are also in the root. Not crackguitar.
From a site that supplies the photoshop plug-in and gives tips for image
creation/transparency and HTML;
http://www.adrianherritt.com/photoshop/photoshop-favicon-creation/
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
Firefox fine, nowhere in IE neither on or offline.
date: Wed, 26 Sep 2007 14:19:10 GMT
author: Del
|
Re: Favicons & IE7
"Tony" wrote in message
news:6K5Ki.20022$c_1.17945@text.news.blueyonder.co.uk...
>I have had a problem getting a favicon to display in IE7 (Windows XP SP2),
> and from Google I don't seem to be the only one. I tried the things I'd
> seen suggested without any success - making the icon in different
> programs,
> and putting different things in the html head. Also of course repeatedly
> clearing the cache as these icons are extremely persistent.
>
> The thing that eventually made it work for me was including a 32x32 pixel
> icon as well as the 16x16 pixel icon in the favicon.ico file. However I
> have also seen it recommended that it is better to have just the 16x16
> icon!
> I wonder if it might depend on the desktop display settings. Does anyone
> have any more definitive information?
>
Scrap that last post... that's weird. I had a string of tabs up but the last
time I hit refresh I swear there was just an explorer logo, gave up to write
that post, went back to the browser and the bugger was there.
Did the same with another page; IE is a bit slow presenting them sometimes.
The 16px is working too but neither off line.
*****************
Use a 32px image catering for when links are dragged to desktop and both
these lines in the head;
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
Works for me and I'm the muppet 'round here.
|)e|_
date: Wed, 26 Sep 2007 14:49:38 GMT
author: Del
|
Re: Favicons *CRACKED IT*
"Tony" wrote in message
news:6K5Ki.20022$c_1.17945@text.news.blueyonder.co.uk...
>I have had a problem getting a favicon to display in IE7 (Windows XP SP2),
> and from Google I don't seem to be the only one. I tried the things I'd
> seen suggested without any success - making the icon in different
> programs,
> and putting different things in the html head. Also of course repeatedly
> clearing the cache as these icons are extremely persistent.
>
> The thing that eventually made it work for me was including a 32x32 pixel
> icon as well as the 16x16 pixel icon in the favicon.ico file. However I
> have also seen it recommended that it is better to have just the 16x16
> icon!
> I wonder if it might depend on the desktop display settings. Does anyone
> have any more definitive information?
>
Don't just settle for relative href of the icon, go full scale
http://allthewayto.ico
Don't know how I got it going on the first site I applied it to, but
CrackGuitar would not have it until I got picky.
Del
date: Wed, 26 Sep 2007 18:21:17 GMT
author: Del
|
|
|