Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Graphics


pdutton

Recommended Posts

HI

 

I want to remove the clip art and graphics that appear at the top right of each selection that is associated with the heading for that section,

 

for example 'welcome please sign in', has a graphic at the top right.

 

I've been searching through the code but being unable to find as yet.

 

Thanks

Link to comment
Share on other sites

The hard way is to find the code for each instance. The easy way is to go into the images directory and download pixel-trans.gif. Then, find the offending image in your browser, right click to get its name, rename pixel-trans.gif and upload it to the images directory (overwrite the offending image). Do this for any and all images you don't like. This way, you may still use a different image some day in the future. Bear in mind that the image pixel-trans is tiny so it may affect some text placement nearby.

This seems tedious, but goes very quickly once you get the hang of it. In fact, you'll begin to see the pattern and be able to read the list of files in the images directory to move even faster.

Link to comment
Share on other sites

I'm sorry, I wasn't reading carefully. Here in includes/header.php find this:

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

Link to comment
Share on other sites

I'm sorry, I wasn't reading carefully. Here in includes/header.php find this:

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

 

 

Hi,

 

I had already found this bit of code and removed it, the bit i'm struggling with is the code where it puts the graphics under the top bar. ie. the graphics for create new account, whats in my cart and so on.

Link to comment
Share on other sites

Yeah, OK. That's what I was talking about in my first reply. It's found in many pages. here's the line from account_history_info.php:

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

The others will look almost the same. Find and drop that table division from each page in question or overwrite the images as explained.

Link to comment
Share on other sites

Yeah, OK. That's what I was talking about in my first reply. It's found in many pages. here's the line from account_history_info.php:

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

The others will look almost the same. Find and drop that table division from each page in question or overwrite the images as explained.

 

 

Sorted it THANKS

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...