I want to remove as many images as possible to reduce page load time.
I commented out the appropriate lines of code in classes/boxes.php and all works fine except for some reason the <tr><td> New Products For ... cell still has the left rounded corner image in it.
I did not comment out this code:
class contentBoxHeading extends tableBox {
function contentBoxHeading($contents) {
$this->table_width = '100%';
$this->table_cellpadding = '0';
$info_box_contents = array();
$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',
'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')),
array('params' => 'height="14" class="infoBoxHeading" width="100%"',
'text' => $contents[0]['text']),
array('params' => 'height="14" class="infoBoxHeading"',
'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif')));
$this->tableBox($info_box_contents, true);
}
}
So perhaps this is the reason. This block of code is a bit too complicated for me to figure out how to comment out the part I don't want to use.
The New Products For month cell has no right rounded corner image so it makes me wonder if the above code is for that cell or not.
Is there another way to prevent these images from displaying.
It seems to me that the html code would be easier to change but alas I have been unable to find that because I don't really know what I'm looking for.
Since I do not know a lot about code it is hard to find things sometimes.
Getting better at it every day though.
Thank You
Emmett















