Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

position of an image


rikpotts

Recommended Posts

Hi,

I have removed the default text of 'Welcome Guest, would you like to login........etc'

and have added an image instead of having a 'TEXT_MAIN' entry.

 

The thing is this image is leaving enough room to have text above it. If I highlight this bit of space and right click>properties it says its an image......

images/table_background_default.gif

 

I cant find this image anywhere, nor a line designating this image.

Can anyone help me out.

 

You may want to have a look yourself. Note, its an adult site.

 

www.triplextoy.co.uk/catalog

 

Many Thanks

Link to comment
Share on other sites

Ive downloaded a fresh copy of OSC and have had a look in there.

 

The 'table_background_default.gif' images is in images and it is also referred to in /catalog/index.php.

 

But on my store the image isnt in 'images' and its not referred to in index.php.

 

How can I get rid of this image?

Link to comment
Share on other sites

Search the catalog\index.php for a line like this:

 

			<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

and remove it. That will remove the table element. (backup first)

Link to comment
Share on other sites

There is an image on the top right on pretty much every main page of osCommerce. One way to remove them is to open every page in an editer, look for the <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

the next line of code will be the <td> with the image in it. So if you remove the <td>whatever code is there cause it is different on pags</td> you can remove the top right images.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Well there must be something perhaps that is included from the header or another feature you have deployed. I checked your images directory. All the default image files (.gif) look corrupted or empty.

Link to comment
Share on other sites

Ok, I think ill leave it.

 

There must be something wrong because I cant even find my storelogo in my images folder! But it is definatly there when I go to the url.

 

Many Thanks for your help

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...