SCC Image on product detail page -...

User 2223548 Photo


Guest
1 post

Hello,

I'm testing around with SCC. My plan is to place a little table with ph-values as an image on each product detail page inside the decription text. Is there a possibility to do it ?
User 187934 Photo


Senior Advisor
20,190 posts

Just upload your image to your server then hard code the image ref url into the code that holds your description on the details page.:)
Here's one way to do it. All depends on how you want your text to appear around your image.
[[[<div align="center">Here's some text.
<div><img src="http://mywebsite.com/myimage.jpg" width="128" height="128" alt="My image" title="Here's my image" border="0" /></div>
Here's some more text.</div>]]]
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 117361 Photo


Ambassador
6,076 posts

If you want the text to wrap around the image, just add a style into that code Eric posted:
[[[<div align="center">Here's some text.
<div><img style="float:left;" src="http://mywebsite.com/myimage.jpg" width="128" height="128" alt="My image" title="Here's my image" border="0" /></div>
Here's some more text.</div>]]]

changing the float left to float right if you want the image on the right.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.