JPG & GIF Don't Appear in Preview

G

Guest

Hello again,

I posted this question a few days ago and I thank everyone that responded.
Even with all the responses, the problem was unresolved and someone had asked
me to post the html. I've done that below. Please help!

Thanks,

Kathy

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<meta name="Microsoft Theme" content="copy-of-ice 1111, default">
</head>

<body>

<p><img border="0" src="images/bookcoverphoto2.jpg" width="180"
height="229"></p>

</body>

</html>
 
K

Ken Thacker

Kathy,
I'm not much help, because I don't know much, but I just experimented
with a photo and had the same set up as you, and the photo shows up
fine except my src shows the entire path to the photo, ie <html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>

<body>

<p><img border="0"
src="file:///C:/Documents%20and%20Settings/Ken.KENS-HOMECOMPUT/My%20Documents/My%20Webs/Published%20WEB/gMaps/GoogleLocallogo3.gif"
width="150" height="55"></p>

</body>

</html>
I think that's where your problem could be....
 
G

Guest

Hi Ken,

Thanks for your response, but that didn't help either. I don't know what my
problem is.

Thanks again,

Kathy
 
J

Jim Carlock

"KathyNe" mentioned:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<meta name="Microsoft Theme" content="copy-of-ice 1111, default">
</head><body>
<p><img border="0" src="images/bookcoverphoto2.jpg" width="180"
height="229"></p>
</body></html>

Hi Kathy,

Try the following:

<img border="0" src="../images/bookcoverphoto2.jpg" width="180" height="229">

The goal is to keep the path to the images relative to the current
folder. The "../" tells the browser to find the image one folder up,
then look inside the "images" folder located there.

To try the same concept inside an images folder, two folders up,

<img border="0" src="../../images/bookcoverphoto2.jpg" width="180" height="229">

That's called a "relative path" and you can compare that to an
"absolute path"...

<img border="0" src="/images/bookcoverphoto2.jpg" width="180" height="229">

Sometimes the "absolute path" fails to work on locally configured
folders. Specifying the absolute path using local drive letters will
not work on a published website and should not be used...

<img border="0" src="file:///C:\blah\blah\blah\images\blah.jpg">

Hope that helps.

Jim Carlock
Post replies to the newsgroup.
 
R

Rob Giordano \(Crash\)

If you post the URL to the web page you are having problems with you will
get a more definitive answer.


| Hi Ken,
|
| Thanks for your response, but that didn't help either. I don't know what
my
| problem is.
|
| Thanks again,
|
| Kathy
|
|
| "KathyNe" wrote:
|
| > Hello again,
| >
| > I posted this question a few days ago and I thank everyone that
responded.
| > Even with all the responses, the problem was unresolved and someone had
asked
| > me to post the html. I've done that below. Please help!
| >
| > Thanks,
| >
| > Kathy
| >
| > <html>
| >
| > <head>
| > <meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
| > <title>New Page 1</title>
| > <meta name="Microsoft Theme" content="copy-of-ice 1111, default">
| > </head>
| >
| > <body>
| >
| > <p><img border="0" src="images/bookcoverphoto2.jpg" width="180"
| > height="229"></p>
| >
| > </body>
| >
| > </html>
 
R

Ronx

Displaying the path like that has three possible causes:
1) You did not open a web or site before creating/editing the page
2) You did not import the image into your open web/site before
placing it on the page
3) You copied the code before saving the page.

If the page is in an open web, and the images imported, and the edited
page saved, then the path to the image would be as Kathy's.
 
G

Guest

I want to thank everybody for taking the time to try to help me, but since we
weren't having any success, I contacted Microsoft. The support person and
his colleagues couldn't figure it out, either. It has gone to the research
dept now.

So, thanks again.

Kathy
 
R

Rob Giordano \(Crash\)

yer welcome.
it probably would have been quicker to post the URL to your website here
though - seeing the site would help us help you.

good luck


|I want to thank everybody for taking the time to try to help me, but since
we
| weren't having any success, I contacted Microsoft. The support person and
| his colleagues couldn't figure it out, either. It has gone to the
research
| dept now.
|
| So, thanks again.
|
| Kathy
|
| "Rob Giordano (Crash)" wrote:
|
| > If you post the URL to the web page you are having problems with you
will
| > get a more definitive answer.
| >
| >
| > | > | Hi Ken,
| > |
| > | Thanks for your response, but that didn't help either. I don't know
what
| > my
| > | problem is.
| > |
| > | Thanks again,
| > |
| > | Kathy
| > |
| > |
| > | "KathyNe" wrote:
| > |
| > | > Hello again,
| > | >
| > | > I posted this question a few days ago and I thank everyone that
| > responded.
| > | > Even with all the responses, the problem was unresolved and someone
had
| > asked
| > | > me to post the html. I've done that below. Please help!
| > | >
| > | > Thanks,
| > | >
| > | > Kathy
| > | >
| > | > <html>
| > | >
| > | > <head>
| > | > <meta http-equiv="Content-Type" content="text/html;
| > charset=windows-1252">
| > | > <title>New Page 1</title>
| > | > <meta name="Microsoft Theme" content="copy-of-ice 1111, default">
| > | > </head>
| > | >
| > | > <body>
| > | >
| > | > <p><img border="0" src="images/bookcoverphoto2.jpg" width="180"
| > | > height="229"></p>
| > | >
| > | > </body>
| > | >
| > | > </html>
| >
| >
| >
 
K

Ken Thacker

Ron,
Thanks for your help...I think I now have the src's corrected, and
you are exactly right.....I now have a better grasp of the situation.
Take a look at the source and see if it's not like it should be.
www.elodgingatbristol.com/gMaps/gmaps.htm
If it's correct, one good page down, quite a few left to correct!
Thanks, Ron
 
R

Ronx

The images are showing absolute links, which should be relative. For
example,
<img border="0"
src="http://www.elodgingatbristol.com/logo copySmaller.jpg"> should
be
<img border="0" src="../logo%20copySmaller.jpg">
These images are also lacking width, height and alt text information,
which make the page load a little faster and more accessible.
Also, links are coded as absolute, where relative would be better.
Finally, remove all spaces from links. These show as %20 and break in
some browsers.

Relative links are usually better than absolute links because the
pages can be moved easily, and FrontPage will manage the change in
links to and from other pages. FP wil not manage absolute links.
 
K

Ken Thacker

Ronx said:
The images are showing absolute links, which should be relative. For
example,
<img border="0"
src="http://www.elodgingatbristol.com/logo copySmaller.jpg"> should
be
<img border="0" src="../logo%20copySmaller.jpg">
These images are also lacking width, height and alt text information,
which make the page load a little faster and more accessible.
Also, links are coded as absolute, where relative would be better.
Finally, remove all spaces from links. These show as %20 and break in
some browsers.

Relative links are usually better than absolute links because the
pages can be moved easily, and FrontPage will manage the change in
links to and from other pages. FP wil not manage absolute links.
Thanks, Ron, I'll work on that today!
Ken
 
J

Jim Carlock

Ronx said:
FP will not manage absolute links.

Hi Ron,

That statement sounds ambiguous. Perhaps it should read:

FP may have difficulty managing the contents of absolutely
linked items, and may break links when moved from one
web to another.

Also, I'm thinking along the lines that "/images/image1.jpg"
represents an absolutely linked item, although it's really
relative to the domain name it's hosted in. This could be
an area of confusion when explaining things. I tend to
think of it as an absolute link rather than a relative link.

Perhaps others might leave a comment or two about
this.

Jim Carlock
Post replies ot the newsgroup.
 
T

Thomas A. Rowe

FP doesn't write or manage link such as "/images/image1.jpg", however FP will write and manage links
written as "images/image1.jpg" which is relative.

FP does manage absolute URLs, meaning that it will not change them if you move or rename files or
folders within your web / site or you fail to import content into your open web / site before using
or linking to it.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
R

Ronx

FP may have difficulty managing the contents of absolutely
linked items, and may break links when moved from one
web to another.

That sounds wrong.
FP will manage the *contents* of absolutely linked items that are in
the web - how you link to them does not matter.
FP *will* break links to absolutely linked items when they are moved
from one location to another - does not have to be between webs, just
moving to another folder within the web will break the link. More
precisely, FP will not adjust links to absolutely linked items when
those items are relocated.

FrontPage does treat root relative and absolute links in the same way.
 

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

Top