For my internet programming class I have to create a XHTML file that has an image in it, among other things. The problem that I am having is that when I open up my file on other computers the image will not load. The file path is valid on my own computer but of course when I move to other computers the image does not load. Help.

could you please post your code.
I think the problem is that you used an absolute path for your image.
For example, you probably used something like

<img src="C:/Documents/website/image.jpg" alt="My image"

.
To make your code portable on many computers, you should use a relative path like this:

<img src="website/image.jpg" alt="My image"

where "website" is the folder your image is located in.
Also, I'm assuming you have the embedded image on the other computer you are viewing the website on... it's an error that others have made.

Thank you. That was easy, I fixed it.

I did use a absolute path instead of a relative path. It changes everything.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.