picture problems

They have: 2 posts

Joined: Aug 2001

I have a very basic website with pictures. They appear on my computer but when friends visit the site, the pictures do not show for them. Have I left something out of my HTML?

Keegan's picture

They have: 300 posts

Joined: Aug 2001

Your paths are most likely pointing to your location folders.

If your website is

mypictures.com

and you store your images in

mypictures.com/images

then your relative path to your images would be /images/mypic.jpg

Or you would do it by the site root and it would be mypictures.com/images/mypic.jpg

right click on the images that are not loading and more than likely you will see the path file:///c:/My Documents/Family/Mypic.jpg or something similiar.

If this is the case simply edit the HTML to show the correct relative, or root path.

K

Busy's picture

He has: 6,151 posts

Joined: May 2001

Keegans right.
most wysiwyg editors include your computer folders path
file:///c:/My Documents/Family/Mypic.jpg or whatever

if its only a small site you can place all your images in the main directory with your .html files, but once it gets bigger this can get confusing so adding an images folder can be easier

good luck

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

PUBLIC SERVICE MESSAGE

While a number of common errors are easy to troubleshoot without seeing an example, it is still easier to answer questions when an url is offered with the problem that needs resolving.

Please post urls when possible, and if not possible, post a code example so people can quickly and easily troubleshoot for you.

***

additional causes of missing images: spaces in the image name, case mismatching between a Windows system and a Unix server, not uploading the images to the server.

Smiling Suzanne

They have: 57 posts

Joined: Jun 2001

i like to use the folder
site/gifs/ to put the pictures in!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.