Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image code in a define ('


rachael_web86

Recommended Posts

Hiya guys, wondering if anyone would be so kind to help me as to what the code is I need to insert into the following snippet for an image to appear after the text ('Parcelforce (Outside of UK only)) ;

 

define('MODULE_SHIPPING_ZONES_TEXT_TITLE', 'Parcelforce (Outside of UK only) ;');

 

Many thanks in advance :)

Link to comment
Share on other sites

Hiya guys, wondering if anyone would be so kind to help me as to what the code is I need to insert into the following snippet for an image to appear after the text ('Parcelforce (Outside of UK only)) ;

 

define('MODULE_SHIPPING_ZONES_TEXT_TITLE', 'Parcelforce (Outside of UK only) ;');

 

Many thanks in advance :)

 

define( 'MODULE_SHIPPING_ZONES_TEXT_TITLE', 'Parcelforce (Outside of UK only) ' . tep_image( DIR_WS_IMAGES . 'myimage.gif', 'My image text', '80', '20' ) );

 

1) This assumes that the image is in the images directory.

 

2) Change myimage.gif to the name of your image

 

3) Change "My image text" to the alt text for your image

 

4) Change the 80(width) 20(height) to the height and width of your image.

Link to comment
Share on other sites

define( 'MODULE_SHIPPING_ZONES_TEXT_TITLE', 'Parcelforce (Outside of UK only) ' . tep_image( DIR_WS_IMAGES . 'myimage.gif', 'My image text', '80', '20' ) );

 

1) This assumes that the image is in the images directory.

 

2) Change myimage.gif to the name of your image

 

3) Change "My image text" to the alt text for your image

 

4) Change the 80(width) 20(height) to the height and width of your image.

 

Brilliant thank you so much :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...