Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding images into product description


Dnj1964

Recommended Posts

13 minutes ago, JcMagpie said:

if your using bootstrap all you need is,


<img class="img-responsive" src="img_chania.jpg" alt="Chania">

 

Thank you.

So the image has to be in the root, as adding folder paths doesn't seem to work

Link to comment
Share on other sites

That's looking in root for the file. If it's showing the alt text then something in your site setup is stopping it seeiing the file in root.

Try moving it to /images

and see what happens. Root should be kept clear of junk like this.

check for errors in browser console as it may give a clue.

 

Link to comment
Share on other sites

1 minute ago, JcMagpie said:

That's looking in root for the file. If it's showing the alt text then something in your site setup is stopping it seeiing the file in root.

Try moving it to /images

and see what happens. Root should be kept clear of junk like this.

I did upload to images first and it didn't show up

 

Going to check my configure files

Link to comment
Share on other sites

Check your HTML page source to make sure the browser is using the exact code that you typed in:

<img class="img-responsive" src="img_ tempo-size.png" alt="Aneros Tempo Sizing"> 

If that's what you see, what directory are you in when this should be displayed? Your path to the image file has to take this into account. If you're showing the page under /index.php, the image would have to be in the root (/). Or you can make it images/img_tempo-size.png with the image in /images/.

I presume the space between img_ and tempo-size is a typo? Not all operating systems are happy handling spaces in names, and in any case you need to be consistent.

I think there is an add-on or two to display additional images for you -- you might want to look at that.

Link to comment
Share on other sites

😂 I'm not going to post here I already got a bolicking of the wife when she used my phone yesterday and found your site in my browser!

The image is broken , the link works fine with another image file. See pm.

 

Link to comment
Share on other sites

Quote

<div id="tab-2"> Model #: &nbsp;AN3809

<br /><br />

<u>Stainless Steel Pleasure</u> <br/><br/> <table> <tr> <td> <ul> Product Specs <li>Tip Width: 0.50”</li> <li>Upper Knob: 0.63”</li> <li>Lower Knob: 1.75”</li> <li>Insertable Length: 3.75”</li> </ul> </td> <td> <img class="img-responsive" src="img_tempo-size.png" alt="Aneros Tempo Sizing"> </td> </tr> </table>

html optput
Link to comment
Share on other sites

ok found your problem! your code is beeing copied like this

img_%EF%BB%BFtempo-size.png

So what ever program you used to edit the file made a bad file name.

when I clean this to img_tempo-size.png

your site works fine

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...