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?
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.
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
<?bhb if(broken){ echo("It wasn't me "); } ?> Learn HTML the ez way - EzHTML.net
Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...
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.
Keegan posted this at 01:42 — 8th September 2001.
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
MBSHost.com
SigHost Project
Busy posted this at 00:50 — 9th September 2001.
He has: 6,157 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
<?bhb if(broken){ echo("It wasn't me
"); } ?>
Learn HTML the ez way - EzHTML.net
Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...
Suzanne posted this at 03:12 — 9th September 2001.
She has: 5,512 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.
love me, love my brain :: iStockphoto portfolio
SWD posted this at 03:12 — 9th September 2001.
They have: 57 posts
Joined: Jun 2001
i like to use the folder
site/gifs/ to put the pictures in!