Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

safely remove the image


sheltonjb

Recommended Posts

hi, i dont know anything about php so, from the code below, how do i remove the image links (in bold) without destroying the page? - i'm just trying to loose the gaps that the 'invisable' images are producing for the headings...

 

$info_box_contents[] = array(array('params' => 'height="14" class="newproducts"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/newproducts_corner_left.gif')),

array('params' => 'height="14" class="newproducts" width="100%"',

'text' => $contents[0]['text']),

array('params' => 'height="14" class="newproducts"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/newproducts_corner_right.gif')));

Shelton Brown

Web/Graphic Designer

Link to comment
Share on other sites

Hello again!

:lol:

 

I did that here:

 

Click Me

 

That's the only part of that code I've tinkered with, and then only because I had to!

 

If you wanted to space the text of the heading out you can replace those lines with the image names to somethiing like this:

 

	  $info_box_contents[] = array(array('params' => 'height="14" class="newproducts"',
									 'text' => ' '),
							   array('params' => 'height="14" class="newproducts" width="100%"',
									 'text' => $contents[0]['text']),
							   array('params' => 'height="14" class="newproducts"',
									 'text' => ' '));

I'm sure you could repeat the HTML code for the non-breaking space as much as you wanted.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Hello again!

:lol:

 

I did that here:

 

Click Me

 

That's the only part of that code I've tinkered with, and then only because I had to!

 

If you wanted to space the text of the heading out you can replace those lines with the image names to somethiing like this:

 

	  $info_box_contents[] = array(array('params' => 'height="14" class="newproducts"',
									 'text' => ' '),
							   array('params' => 'height="14" class="newproducts" width="100%"',
									 'text' => $contents[0]['text']),
							   array('params' => 'height="14" class="newproducts"',
									 'text' => ' '));

I'm sure you could repeat the HTML code for the non-breaking space as much as you wanted.

 

top dog,

 

been there done that, ta!

Shelton Brown

Web/Graphic Designer

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...