Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Image, Html Or Php ?


dares_uk

Recommended Posts

Posted

ok, im tryin to add a image to the index.htm via file manager,

do i use html or php ??

 

tried using this code,

 

<center><img src="http:www.myname.co.uk/catalog/images/Novasmall.jpg"></center><br><br>

 

didnt work though :-" :blush:

Posted
ok, im tryin to add a image to the index.htm via file manager,

do i use html or php ??

 

tried using this code,

didnt work though :-" :blush:

 

 

Try <center><img src="images/Novasmall.jpg"></center><br><br>

Posted

or even http://www.myname...

 

Doesn't really matter if you use PHP or HTML... php just outputs HTML anyway, it just helps you use variables for size etc.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted
<center><img src="http:www.myname.co.uk/catalog/images/Novasmall.jpg"></center><br><br>

 

Won't work because the url is http://www.myname.co.uk/catalog/images/Novasmall.jpg

 

You should really use ..

 

tep_image(DIR_WS_IMAGES . 'Novasmall.jpg', 'myimagename', 'width', 'height');

 

Obviously change myimagename, width, height.

Archived

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

×
×
  • Create New...