Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding an image


Muldrick

Recommended Posts

Posted

I know my site has the stock look, but I like it.

Question though: I want to add a logo in the left column, at the bottom, in the last "information" box. In that same box, but underneath "contact us".

I allready added the image to the: includes/languages/english/images folder, correct?

Which file do I edit to "point to" the image?

And what line do I add.

 

Thanks.......I'm learning.......thanks to you all :)

 

 

EDIT: oooh wait, in the english.php file????

Line 127, add a line?.....what do I add? what's the "command"???

Posted

Wrong...I believe it's the information.php file, Yes???

Add a line at 27.

Still need to know what line.

I put my image in the images folder as well.

Can anyone tell what line to add?

Posted

Yes, in information.php, after the link to "contact us" (line 27)

 

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'
. tep_image(DIR_WS_IMAGES . 'yourpic.jpg', 'your pic alt text') );

 

There it is including the previous line. Note that the closing parentheses and semicolon at the end of line 26 needed to be moved down, so it's after your new line now );

 

The link assumes your image is in your /images/ directory.

Archived

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

×
×
  • Create New...