Jump to content

Recommended Posts

Good day all.

I am in serious need of some help im very very new to php and im using it to make my site.

I have got it working except for the images.

Im using Dreamweaver to design it. If i insert a image i can see it in DW but when i go to view it on my local the images dont show up!!!!

 

PLEASE COULD ANYONE HELP ME ON THIS IM GOING NUTS!!!!!

 

Thanks

 

???

sorry. here is the code of the php that i call into the template php.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<!-- DW6 -->

<head>

<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->

<title>Entertainment - Catalog</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="mm_entertainment.css" type="text/css" />

<style type="text/css">

<!--

html {scrollbar-face-color: #FF9900;

scrollbar-shadow-color: #FFCB00;

scrollbar-highlight-color: #FFCB00;

scrollbar-3dlight-color: #FFCB00;

scrollbar-darkshadow-color: #FFCB00;

scrollbar-track-color: #FFCB00;

scrollbar-arrow-color: #ef8200;}

-->

</style>

<style type="text/css">

<!--

body,td,th {

color: #000000;

}

body {

margin-left: 0px;

}

.style2 {color: #000000}

a:link {

color: #000000;

text-decoration: none;

}

a:hover {

color: #000000;

text-decoration: none;

}

a:visited {

text-decoration: none;

color: #FFCB00;

}

a:active {

text-decoration: none;

 

}

.style5 {font-family: Arial, Helvetica, sans-serif}

-->

</style></head>

<body>

<table border="0" cellpadding="0" cellspacing="0">

    <tr>

    <td colspan="3" bgcolor="#FFCB00"><img src="../images/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>

  </tr>

 

 

  <tr>

  <td width="1" valign="top"></td>

  <td colspan="2" valign="top"><br />

<table border="0" cellspacing="0" cellpadding="2" width="610">

       

        <tr>

          <td colspan="7" class="style5 subHeader"><em>FISHFINDERS</em></td>

        </tr>

<tr>

          <td width="22%" height="110"><a href="fishmarkhome.php" target="_self"><img src="../images/products/FishElite_500c_right copy.gif" alt="FishMark®" width="130" height="110" border="0" /></a></td>

  <td> </td>

  <td width="22%" height="110"><a href="SeaFindershome.php" target="_self"><img src="../images/products/SeaFinder_640cDF_right.gif" alt="SeaFinder®" width="124" height="110" border="0" /></a></td>

  <td> </td>

  <td width="22%" height="110"><a href="FishEasyhome.php" target="_self"><img src="../images/products/FishEasy_320c_right.gif" alt="FishEasy®" width="81" height="110" border="0" /></a></td>

  <td> </td>

  <td width="22%" height="110"><a href="Cudahome.php" target="_self"><img src="../images/products/Cuda_168_left.gif" alt="Cuda ®" width="83" height="110" border="0" /></a></td>

        </tr>

<tr>

          <td valign="top" nowrap="nowrap" class="detailText style2"><a href="titlepages/fishmarkhome.php" target="_self" class="style2">

            <div>FishMark®</div>

          </a><br /></td>

  <td> </td>

      <td valign="top" nowrap="nowrap" class="detailText style2"><a href="SeaFindershome.php" target="_self">SeaFinder</a>®<br /></td>

<td> </td>

      <td class="detailText" valign="top" nowrap="nowrap"><a href="FishEasyhome.php" target="_self" class="style2">FishEasy®</a></td>

<td> </td>

      <td class="detailText" valign="top" nowrap="nowrap"><a href="Cudahome.php" target="_self" class="style2">Cuda ®</a></td>

        </tr>

<tr>

  <td colspan="7" class="subHeader"> </td>

    </tr>

<tr>

<td colspan="7" class="style5 subHeader"><em>FISHFINDERS / GPS CHARTPLOTTERS</em></td>

</tr>

 

<tr>

          <td height="110"><a href="titlepages/FishElitehome.php" target="_self"><img src="../images/products/FishElite_500c_right copy.gif" alt="FishElite®" width="130" height="110" border="0" /></a></td>

  <td> </td>

  <td height="110"><a href="SeaCharterhome.php" target="_self"><img src="../images/products/FishElite_502c_right.gif" alt="SeaCharter®" width="130" height="110" border="0" /></a></td>

  <td> </td>

  <td height="110"> </td>

  <td> </td>

  <td height="110"> </td>

        </tr>

<tr>

          <td valign="top" nowrap="nowrap" class="detailText"><span class="detailText style2"><span class="style2"><a href="FishElitehome.php" target="_self">FishElite®</a></span></span></td>

  <td> </td>

  <td class="detailText" valign="top" nowrap="nowrap"><span class="detailText style2"><span class="style2"><a href="SeaCharterhome.php" target="_self">SeaCharter®</a></span></span></td>

<td> </td>

  <td class="detailText" valign="top" nowrap="nowrap"> </td>

<td> </td>

  <td class="detailText" valign="top" nowrap="nowrap"> </td>

        </tr>

 

<tr>

  <td colspan="7"> </td>

    </tr>

<tr>

  <td colspan="7"><span class="style5 subHeader"><em>GPS CHARTPLOTTERS</em></span></td>

    </tr>

<tr>

  <td colspan="6"><a href="IntelliMapHome.php" target="_self"><img src="../images/products/IntelliMap_502c_right.gif" alt="" width="130" height="110" border="0" /></a></td>

      <td> </td>

</tr>

<tr>

  <td colspan="6"><span class="style2"><a href="IntelliMapHome.php" target="_self">IntelliMap®</a></span></td>

      <td> </td>

</tr>

<tr>

  <td colspan="7"> </td>

    </tr>

<tr>

  <td colspan="7"><span class="style5 subHeader"><em>VHF RADIOS</em></span></td>

    </tr>

<tr>

  <td colspan="7"><a href="VHFradioshome.html" target="_self"><img src="../images/products/EVR150 Right.gif" alt="VHF Radios" width="153" height="110" border="0" /></a></td>

    </tr>

<tr>

  <td colspan="7"><a href="VHFradioshome.html">VHF Radios</a></td>

    </tr>

<tr>

  <td colspan="7"> </td>

    </tr>

<tr>

  <td colspan="7" class="style5 subHeader"><em>CARTOGRAPHY</em></td>

    </tr>

<tr>

  <td><a href="Cartographyhome.php" target="_self"><img src="../images/products/large/navionics/AS&OC_GOLDXL9_33.jpg" alt="Navionics®" width="196" height="138" border="0" /></a></td>

      <td> </td>

      <td> </td>

      <td> </td>

      <td> </td>

      <td> </td>

      <td> </td>

</tr>

<tr>

  <td><a href="Cartographyhome.php" target="_blank" class="style2">Navionics®</a></td>

      <td> </td>

      <td> </td>

      <td> </td>

      <td> </td>

      <td> </td>

      <td> </td>

</tr>

<tr>

  <td colspan="7"> </td>

    </tr>

<tr>

  <td colspan="7" class="style5 subHeader"><em>TRANSDUCERS</em></td>

    </tr>

 

<tr>

  <td><a href="Transducers transomhome.php" target="_blank"><img src="../images/products/large/Transducer/HST-WSU.gif" alt="Transom Mount" width="178" height="110" border="0" /></a></td>

      <td> </td>

      <td><a href="Transducers trollyhome.php" target="_blank"><img src="../images/products/large/Transducer/PDT-WSU.gif" alt="Trolling Mount" width="162" height="110" border="0" /></a></td>

      <td> </td>

      <td><a href="Transducersportablehome.php" target="_blank"><img src="../images/products/large/Transducer/PTT-WSU.gif" alt="Portable Mount" width="141" height="110" border="0" /></a></td>

      <td> </td>

      <td> </td>

</tr>

<tr>

  <td><a href="Transducers transomhome.php" target="_blank">Transom Mount</a></td>

      <td> </td>

      <td><a href="Transducers trollyhome.php" target="_blank">Trolling Mount</a></td>

      <td> </td>

      <td><a href="Transducersportablehome.php" target="_blank">Portable Mount</a></td>

      <td> </td>

      <td> </td>

</tr>

<tr>

  <td colspan="7"> </td>

    </tr>

 

<tr>

  <td colspan="7"><span class="style5 subHeader"><em>ACCESSORIES</em></span></td>

    </tr>

<tr>

  <td colspan="7"><a href="Accessorieshome.php" target="_blank"><img src="../images/products/large/Accessories/FM-5.gif" alt="Accessories" width="182" height="110" border="0" /></a></td>

    </tr>

<tr>

  <td colspan="7"><a href="Accessorieshome.php" target="_blank">Accessories</a></td>

    </tr>

    </table>   </td>

  </tr>

</table>

<br />

</body>

</html>

 

Thanks

i can't see why this would not work then...

 

are you using SSI? So this page is been included at a different level of the directory structure?

 

Try make yourself some easier file names.... your images have capitals and small letters, hyphens and underscores...

 

use a more standard format

 

 

this page is included in the main directory. But what i dont understand is that i have reloaded them too and that did not work. Also any clues as to why i can see them in DW?

 

Thank you for all you help and im sorry to bother but im stuck!

ok theres your problem...

 

Yes Dreamweaver is showing you the page in its current directory so the path to the images is correct but once you include it  in your main page the paths are wrong.

 

Try removing ../

 

now the pictures won't be shown in dreamweaver but they should work on your site

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.