Jump to content

Recommended Posts

Posted

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?

Posted

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 :D

 

Good luck

Posted (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 by TCH-Bruce
Posted

:D Welcome to the Family Rajio :o

 

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 :blink:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...