Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a page with pictures


birdmantx

Recommended Posts

Hello,

 

Ive been reading David Mercers oscommerce for beginners about adding a page. He said to download a page that is already installed name it something else then upload it. From there I can make changes to the text, but how can I add pictures? Thank you!

Flying away to get back to work.

Link to comment
Share on other sites

If you've copied a page like shipping.php which only has text, then upload your picture to catalog, NOT to the images folder, and in the page add the pic like this wherever you want it to appear:

<img src="PICTURE.JPG" alt="NAME OF PICTURE">

 

If you've copied a page like for example contact us.php, then you have to add this:

in catalog > contact us.php:

add this where you want the text (or pic) to appear

<td class="main"><?php echo TEXT_INFORMATION; ?></td>

 

in catalog > includes > languages > English > contact us.php

add this bit of coding to the page and add your picture within the two ''

define('TEXT_INFORMATION', '');

~ Don't mistake my kindness for weakness ~

Link to comment
Share on other sites

Hello,

 

Simply using image source html tag in the new page, for example:

 

define('TEXT_INFORMATION', '

 

Put here your Picure here.<br>

<img src="images/table_background_specials.gif" border="0" alt="Conditions of Use" title=" Conditions of Use " width="57" height="40">

 

');

 

Best regards

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...