Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding images to non-box / product info pages


Guest

Recommended Posts

I have celloed a bit about again, changing the shipping.php into a link-page. (I'm running out of time, and it's time for the crude ways to set in.) I wanted to add the logo of one of the pages I'm linking to onto that page, but that was no success.

 

I basically only know HTML and CSS, and this PHP thing confuses me. Do I have to call the image with a PHP-command? In the midst of my HTML?

Link to comment
Share on other sites

I have celloed a bit about again, changing the shipping.php into a link-page. (I'm running out of time, and it's time for the crude ways to set in.) I wanted to add the logo of one of the pages I'm linking to onto that page, but that was no success.

 

I basically only know HTML and CSS, and this PHP thing confuses me. Do I have to call the image with a PHP-command? In the midst of my HTML?

 

 

you can add any html to your pages as long as you keep it out of the <?php ... ?> tags.

Treasurer MFC

Link to comment
Share on other sites

I tried the normal <img src="./images/whateveritwascalledagain.jpg">. It didn't even turn out a "broken image" image... Tried to put the pic into the same folder as the php-file. Still didn't work.

Link to comment
Share on other sites

I found I needed to add the catalog to the url.....<img src="../catalog/images/imagename.jpg"> For some reason half worked with the catalog and half worked without it. You might try adding that and see what happens.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...