Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to replace text with image?


johnnyosc

Recommended Posts

Posted

Hello Guys,

 

I was wondering what you have to do in order to replace text line like "click to enlarge", "Also Purchased " header, etc.. with a jpg or gif image?

Basically, how would i go about acheiving that? what type of code and where to adjust it? Thanks inadvance.

 

JohnnyOSC

Posted

All througout osCommerce links are made like this:

 

echo '<a href="' . tep_href_link(FILENAME_XXX, 'optional?params', 'NONSSL') . '"> link description </a>';

 

In order to get an image where 'link description' is you can use the tep_image function or hardcode it with <img src="blabla">.

Take a look at ANY tep_image() call to see how to use that.

 

Regards,

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Archived

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

×
×
  • Create New...