Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

proper coding to add images to header


mikecan

Recommended Posts

Posted

I have replaced the os logo with my own in the top left corner which is linked. Now I would like to add 4 product images to span across the entire header. What is proper coding and img_src? or tep_img? are these just inserted after main logo? how would I control size spcing etc? Or do I put all 4 images in one block/table?

thanks, mike

Posted

Hi mikecan,

 

In the includes/header.php file you will see 2 tables between some php. It starts about line 55.

 

The first table is the logo and the cartoons on the right in the header.

 

You can put anything you like in there. Sounds like you will just need to strip out everything in between the first table and add your own code. I use <img src=""> in mine with no problems.

Posted

You should use the tep_image function for your store images as if you hard-code the html image tags modules you may have or use in the future to process images (eg. a thumbnailer) will not process hard-coded ones of course

Archived

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

×
×
  • Create New...