Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The graphic that wouldn't die!!!!


Recommended Posts

Posted

:'( Hello again everyone!

 

Ok... I asked for help on how to get rid of the little graphics in the middle upper right (but below main banner) (in the header area).

 

First I made a blank image to replace the stock image and band aid cover it up.... well that worked.. but only on the main page.. then for some reason I had a red x in the header instead of the graphic on every single other category page.

 

So, then it was suggested that I remove the below code from every single main php file that there was.

 

<?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

So it took me alongggggggg time, but I got it all done... and would ya believe that darn little red X is still there????????

 

Please, please.. anyone. Can you suggest how I can delete it? Maybe someone could look at the graphic on their site and tell me the name of it or something? (I cant get that even because it's corrupt or whatever). I just have no clue where to find it much less kill it.

 

If your wondering exactly where... please look at my site www.ewholesalesunglasses.com and click any category on the left column... every one of those pages has the little red x in the heading space.

 

I am at my wits end.. pretty please? :blink:

Posted
:'(    Hello again everyone!

 

Ok... I asked for help on how to get rid of the little graphics in the middle upper right (but below main banner)  (in the header area).

 

First I made a blank image to replace the stock image and band aid cover it up.... well that worked.. but only on the main page.. then for some reason I had a red x in the header instead of the graphic on every single other category page.

 

So, then it was suggested that I remove the below code from every single main php file that there was. 

 

<?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

So it took me alongggggggg time, but I got it all done... and would ya believe that darn little red X is still there????????

 

Please, please.. anyone.  Can you suggest how I can delete it?    Maybe someone could look at the graphic on their site and tell me the name of it or something?  (I cant get that even because it's corrupt or whatever).  I just have no clue where to find it much less kill it.

 

If your wondering exactly where... please look at my site  www.ewholesalesunglasses.com and click any category on the left column...  every one of those pages has the little red x in the heading space.

 

I am at my wits end..  pretty please?  :blink:

 

It seems you once had a category image defined with your categories and that image is not there anymore. Check one or more of your categories within the admin and click edit to see if, and what, reference there is to an image. Same applies for sub-categories.

Posted

You are able to have an image for each category when you make the categories.

 

If this is happening with each category, it seems you could edit them and remove the images in your admin, no?

 

Christina

Posted

A whole red x implies a problem with the pathway or the image just not being there. A broken red x usually implies that the image is not 'permitted' to load, as in the case of someone trying to hotlink your images to their website - to save their bandwidth and steal yours. If you have a .htaccess file in the 'images' folder try deleting that.

 

With regard to deleting this line

 

<?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

Did you also delete this (index.php)

 

// Get the right image for the top-right

$image = DIR_WS_IMAGES . 'table_background_list.gif';

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

$image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'");

$image = tep_db_fetch_array($image);

$image = $image['manufacturers_image'];

} elseif ($current_category_id) {

$image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");

$image = tep_db_fetch_array($image);

$image = $image['categories_image'];

}

 

Vger

Posted
A whole red x implies a problem with the pathway or the image just not being there.  A broken red x usually implies that the image is not 'permitted' to load, as in the case of someone trying to hotlink your images to their website - to save their bandwidth and steal yours.  If you have a .htaccess file in the 'images' folder try deleting that.

 

With regard to deleting this line

 

<?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

Did you also delete this (index.php)

 

// Get the right image for the top-right

    $image = DIR_WS_IMAGES . 'table_background_list.gif';

    if (isset($HTTP_GET_VARS['manufacturers_id'])) {

      $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'");

      $image = tep_db_fetch_array($image);

      $image = $image['manufacturers_image'];

    } elseif ($current_category_id) {

      $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");

      $image = tep_db_fetch_array($image);

      $image = $image['categories_image'];

    }

 

Vger

 

I looked on the website for the properties of the broken image and saw it showed no name but referred to the correct path. As all the other images come from that directory also and do show perfectly it almost must have to do something with the category image link although I agree there should have been at least been mentioned the name of the missing picture within the image properties. For me there is a category picture on that same spot which I attached while defining the categories. I was under the presumption that if you don't use a category image that spot shows up empty but I could be wrong as I never had the chance to see that.

Archived

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

×
×
  • Create New...