Favicon used with a dynamic template


S

Sandy

I'm a newbie - working on version 2 of my first web site and want to add a
favicon. I have several questions.

1) I have made a favicon and, using IrfanView, saved it as an ico file to
my harddrive. In my explorer window the favicon shows up with the correct
logo in front of the word favicon as it should. When I import the file into
my images folder in FrontPage 2003, the file shows up but the logo doesn't.
Is this correct?

When I try to see a preview of it in FP2003 I get an error message which
reads '...Paint cannot read this file. It is not a valid bitmap file, or its
format is not currently supported.'

Since the favicon is not showing when I preview the site, have I done
something incorrectly?

2) Will favicons show up in previews of the site?

3) I have used a dynamic page template for most of the pages in my site.
In the dynamic template I included the following code:
<head>
<LINK REL=â€SHORTCUT ICON†href=â€images/favicon.icoâ€
mce_href=â€images/favicon.icoâ€> <meta http-equiv="Content-Type"
content="text/html; charset=windows-1252">

When the dynamic template updates all pages, the code gets changed to:
<head>
<LINK REL=â€SHORTCUT ICON†href=templates/â€images/favicon.icoâ€
mce_href=templates/â€images/favicon.icoâ€> <meta http-equiv="Content-Type"
content="text/html; charset=windows-1252">

so I simply added an image folder in the template folder (where the dynamic
page template is stored) and then reimported the favicon.ico file here, too.

Nothing seems to work. The favicon is not showing up in the previews of
either the latest versions of Firefox or IE.

I'm at a loss as to how to proceed and any help would be greatly appreciated!
Thanks.
 
Ad

Advertisements

S

Sandy

Steve,

Thanks for the quick response.

Just to clarify, I am previewing in browsers. The favicon does not show up
in either Firefox or IE7.

I did download LiquidIcon XP and opened the favicon I had previously
resized/saved in it. It looked fine. Then I resaved it through LiquicdIcon
XP with a different name, got rid of the old one and renamed the new one back
to favicon.ico and copied this file into FP 2003. I no longer get the error
message when clicking on the ico file in FP 2003 - now a preview of the image
shows through Paint up but the icon still appears in the directory with a
generic document icon.

And, again, nothing is showing up when I preview the pages in either browser.

So what's the next step?

Thanks, again,

Sandy
Plymouth, MN
 
R

Rob Giordano \(Crash\)

It needs to be in the root folder of your web, NOT the images folder.
 
S

Sandy

Thanks for the response, Rob.

I am making progress - I can now see the favicon in Firefox ... but I'm
having no luck whatsoever with IE7.

I've been rereading threads and links and
http://www.thesitewizard.com/archive/favicon.shtml says "... IE's
implementation of favicon support is not particularly robust. There will be
times it displays the favicon for your site, and other times when it won't.
Don't be too bothered about this. If you need to test that you implemented
your favicon correctly, test it in the other browsers. If it works there,
then it's probably done correctly. From experience, whether a site's favicon
shows up in IE or not depends on so many variables that it's best regarded as
a random occurrence." so I guess I should just be happy that it's working in
Firefox.

I am trying to understand what I'm doing and why and that leads to more
questions -

http://www.thesitewizard.com/archive/favicon.shtml told me to put the code
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
into the head.

Another link people are frequently pointed to in this forum,
http://www.loudexpressions.com/2007/02/image-in-the-address-bar
said to use one of the following:
<link rel="shortcut icon" href="/images/favicon.ico"
type="image/vnd.microsoft.icon" />
or
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />

None of these worked for me at first until I removed the / from in front of
the images - as in href="/images...

Once I removed that / it worked with either href="images/favicon.ico" or
href:"favicon.ico" as long as I had the favicon.ico imported to the root or
to the images file (I tested everything alone, separately and you could have
it in the images folder as long as that was the way it was referenced in the
head.)

So what did my taking the / out do?

Another observance - once the / was out, it did not matter whether I used the
type="image/vnd.microsoft.icon or type="image/x-icon. Heck, it even works
if I leave that part out totally! What does that mean?

And no matter what I put in the head, nothing ever showed up in IE 7!

http://www.loudexpressions.com/2007/02/image-in-the-address-bar goes so far
as to say " ...you can also just upload your favicon.ico file to the root and
not add anything to your file. The icon should show up in the address bar."

Since I think I have it in the root (I imported it and it shows in the area
where the index pages and all other pages show), that didn't work either.

Oh, well. Any thoughts appreciated.

Thanks,
Sandy
Minnesota
 
Ad

Advertisements

S

Sandy

I had not made either a bookmark to the site or a desktop shortcut to the
site.
And I had also deleted all history in IE.

Thanks for the thoughts.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Favicon code 4
How do I get the favicon to work? 2
Favicon will not display in IE 4
Favicons and Web Forwarding 3
Includes 5
Help with CSS 12
Missing Favicon 17
favicon.ico 4

Top