Rajio Posted August 9, 2004 Posted August 9, 2004 Hi, I'm new here to tch. :Nerd: I'm trying to set up an under construction page before the dns changes take effect. ive put construction.htm in public_html/ and construction.gif in public_html/images i've edited .htacces to include DirectoryIndex construction.htm i've checked that teh filenames are all lowercase but: for some reason, when i view the html file; the image link is broken. I have no idea why it would be broken, everything seems right to me. here's the html code: ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Ohmpage - Renovating - Excuse the mess.</title> <style type="text/css"> <!-- body { background-color: #3AB0E5; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style></head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="middle"><a href="mailto:raj@ohmpage.ca"><img src="/images/construction.gif" alt="Rajio loves to read your emails." width="208" height="187" border="0"></a></td> </tr> </table> </body> </html> any ideas why i'd be unable to see the image? Quote
woesap Posted August 9, 2004 Posted August 9, 2004 Try removing the slash in front: >img src="/images/construction.gif" so try >img src="images/construction.gif" I don't know the exact reason but is could/should work. It does on my page Good luck Quote
TCH-Bruce Posted August 9, 2004 Posted August 9, 2004 (edited) Since you are not accessing it with your domain name and using the serverxx.totalchoicehosting.com URL it will not find your images folder with the leading "/" Remove the leading slash from "/images" and it will work fine. After propogation of your domain name it will work with the leading "/" Edited August 9, 2004 by TCH-Bruce Quote
TCH-Don Posted August 9, 2004 Posted August 9, 2004 Welcome to the Family Rajio and your new home! Glad you have it working. We really are like family here. So if you need anything, just ask your new family! We love to help Quote
TCH-Bruce Posted August 9, 2004 Posted August 9, 2004 Yes, welcome to the family, Rajio. Any more questions don't be afraid to ask. Someone always has an answer. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.