Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

insert images in column


Guest

Recommended Posts

Posted

Images are inserted with normal html code (<img src=...). The only trick is to be sure you are outside of the php section. You will notice the file starts with <?php and ends with ?>. This means youcannot place html within it by iteself. You can place the image code after the last ?> or you can place it anywhere within those two statements by doing the following:

?>
<img src...
<?php

So you are telling it to stop the php and to restart it, allowing you to place your code there. There is also a function (tep_image) that you may want to use instead. For just an image, it really doesn't matter. But if you want to use it, just search in the catalog files, most of them use it.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...