PDA

View Full Version : Under Construction Page



vintagecarol
09-23-2007, 10:02 PM
I took an image and placed some text on it that says "New Website Comming Soon" I then uploaded it to a image folder I created in the public_html. I then used Notepad and made a simple basic page with the image I created named index.html. I uploaded this page also to the public_html folder. I was checking everything and my image is a box with a red x? I am sure my code is wrong on my image. I am confused on what the img src would be? Am I way off base on trying to do something so simple that has taken me several hours?

Thank You,
Carol

r2b2
09-23-2007, 11:03 PM
If the image was under a image subdirectory (i.e. public_html/image ) then the src would be "image/myimage.jpg"

shadmego
09-24-2007, 12:14 AM
We all start somewhere. A good idea for future reference though would be to provide a link to the page you want help with, so we can see precisely what the problem is, or perhaps a snippet of the code you think might be wrong.

In this case, it looks like you did a stellar job of explaining where you think you went wrong, and r2b2 gave an excellent answer. You might also want to search the forums for posts on website folder structure and how to point to different pages in your html code. I know I've written a few lengthy posts on the subject and several others here have posted at length about it as well.

~regards, and welcome to HM!
Shadmego

vintagecarol
09-24-2007, 08:57 AM
My simple attempt at my index.html page, but still I have a box with a red x.
<!-- index.html -->
<html>
<body>
<center>
<img src="http://raisedincotton/images/onlineplacecard.jpg"/>
</body>
</html>

Thanks for any and all help.
Carol

shadmego
09-24-2007, 09:04 AM
My simple attempt at my index.html page, but still I have a box with a red x.
<!-- index.html -->
<html>
<body>
<center>
<img src="http://raisedincotton/images/onlineplacecard.jpg"/>
</body>
</html>

Thanks for any and all help.
Carol

Try this:


<img src="images/onlineplacecard.jpg" />

r2b2
09-24-2007, 05:00 PM
Or if you really want the domain name in your img src, you'll need to make it fully qualified (i.e. raisedincottom.com)