Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

jjan

Pioneers
  • Posts

    3
  • Joined

  • Last visited

Posts posted by jjan

  1. I was browsing to look for assistance and noted your post. I am relatively new to OSC and new to sts but I have learned much from the tips I have collected.

    It seems to me that the reason your images are not showing is that you have to enusre your images are inside the images folder (or in a folder inside the images folder) and use a relative path to images with no backing out of folders as you have done. i.e. ../ or ./ is not accepted. only images/spacer.gif or images/site2/spacer.gif

     

    All images come from inside the images folder. That is pre defined in the configure.php file.

     

     

    hey, I recently designed a simple template for testing (displayed here: gxe.byethost11.com/test/) thats outside the oscommerce STS script. However when I want to switch templates on the "real" site, it won't load the images.

     

    heres the source code:

     

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <!-- saved from url=(0014)about:internet -->

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <title>Untitled-1.png</title>

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

    <style type="text/css">td img {display: block;}body {

    background-image: url(./bg.png);

    margin-left: 0px;

    margin-top: 0px;

    margin-right: 0px;

    margin-bottom: 0px;

    }

    </style>

    <!--Fireworks CS3 Dreamweaver CS3 target. Created Thu Jan 14 22:51:46 GMT-0500 (Eastern Standard Time) 2010-->

    </head>

    <body bgcolor="#ffffff">

    <table width="1156" border="0" align="center" cellpadding="0" cellspacing="0">

    <!-- fwtable fwsrc="Untitled" fwpage="Page 1" fwbase="Untitled-1.png" fwstyle="Dreamweaver" fwdocid = "1949411573" fwnested="0" -->

    <tr>

    <td><img src="./images/spacer.gif" width="33" height="1" border="0" alt="" /></td>

     

    <td><img src="./images/spacer.gif" width="1093" height="1" border="0" alt="" /></td>

    <td><img src="./images/spacer.gif" width="30" height="1" border="0" alt="" /></td>

    <td><img src="./images/spacer.gif" width="1" height="1" border="0" alt="" /></td>

    </tr>

     

    <tr>

    <td colspan="3"><img name="Untitled1_r1_c1" src="./images/Untitled-1_r1_c1.png" width="1156" height="89" border="0" id="Untitled1_r1_c1" alt="" /></td>

    <td><img src="../site2/spacer.gif" width="1" height="89" border="0" alt="" /></td>

    </tr>

     

    <tr>

    <td background="./images/Untitled-1_r2_c1.png"></td>

    <td width="1093" height="935" valign="top" background="./images/Untitled-1_r2_c2.png"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>

    <td width="20%" bgcolor="#FFFFFF"></td>

    <td width="64%" align="center" bgcolor="#FFFFFF"></td>

    <td width="16%" bgcolor="#FFFFFF">$cart</td>

    </tr>

     

    </table></td>

    <td background="./images/Untitled-1_r2_c3.png"></td>

    <td><img src="./images/spacer.gif" width="1" height="935" border="0" alt="" /></td>

    </tr>

    </table>

    </body>

    </html>

     

     

    It loads the page blank, and all the images are broken (I checked the paths to make sure they were correct, and they seem to be).

×
×
  • Create New...