(help!!) images in DW MX

I've got a little prob that I have never encountered before. None of my site images (pics, backgrounds) are loading when I want to preview my site. I can see them in the design view, but when I watch it in the browser, no images...

Does anyone know what the problem is? It's probably something really stupd, but I just can't find it!

#311356

this is setting when attching style sheets for design view only (uncheck that box) so that you can see the style as you develope

#311365

I think, It's relative path problem. Look at XXX... "XXXXXXX"

I've got a little prob that I have never encountered before. None of my site images (pics, backgrounds) are loading when I want to preview my site. I can see them in the design view, but when I watch it in the browser, no images...

Does anyone know what the problem is? It's probably something really stupd, but I just can't find it!

#311432

Yeah, what AkeBON0 posted is a very common rookie mistake.

Are there small red x's in the corners of where the images should be?

-NC

#311484

Yeah, what AkeBON0 posted is a very common rookie mistake.

Are there small red x's in the corners of where the images should be?

-NC

jep, they have red crosses in them (in IE at least, in FF I don't see anything). Strange thing is, I re-inserted all the images, coded them by hand. So the source should be right. no?

#311612

this is setting when attching style sheets for design view only (uncheck that box) so that you can see the style as you develope
.

You lost me there, where can I find this setting.... But I don't think thats it...

#311613

Here's a short explanation, from the Goodies to Go Web Newsletter.

Anyway, to fix it, you could try reading the primers referenced, or you can PM me, and I'll walk you through it.

It has become the number one question that we are receiving these days and it surprises

me. It goes something like: "I created a page and put a picture on it, uploaded it to my

server and now when I look at it all I get is a red 'X' where the picture is supposed to

be. What went wrong?"

Most of you reading this newsletter will already know the answer to the question, but I

wonder if you have thought of why it becomes a problem so frequently.

The problem, of course, is that the picture file is being referenced by its name only and

the picture file is not in the same directory as the web page file, or, the picture file

reference includes a path which is not the correct path on the server for the location of

the picture file. (If you or someone you know would like more info, there's a primer at

http://nl.internet.com/ct.html?rtr=on&s=1,...,e4d6,gujk,j423

and there are some more thoughts here:

http://nl.internet.com/ct.html?rtr=on&s=1,...,fbkz,gujk,j423

)

I sat down with a young HTML student recently as they studied the addition of pictures to

a page and went through the entire process including the upload to the server. I was in

observation mode only and did not interfere or help in any way -- I wanted to observe the

thought process in action. This student fell right into it -- after uploading the page

they got the red 'X' and no picture. The reason? That's right, they uploaded the page

file but not the picture file.

Talking with them about it afterwards they told me that they didn't need to upload the

picture file as well because it was already included in the page -- they knew because

they could see it there.

Such a simple conceptual misunderstanding, but perhaps it shouldn't be so surprising. If

you add a picture to a Word document, or to a spreadsheet, etc., it actually does include

the image in the document itself. It is not necessary to keep the image file along with

the document. In fact, you can create a "link" to an external image file if you wish to,

but you have to go out of your way to do it. The most common result is for the word

processor or spreadsheet program to copy the image data right into the document. This is

the opposite of web page creation.

I will be taking care to point out this difference in the future when I am coaching a

beginner and urge you, should you find yourself in a similar position, to do the same.

-NC

#311667