Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images on define mainpage contribution


procomp65

Recommended Posts

Hi all

 

How can I add images to the main text body with the define Mainpage contribution.

 

Here is part of the code. I would like to add a small image where I have written " see the picture below.

 

<?php

$mainpage_title = "New Product news and reviews";

$mainpage_info = "

<p>We have started to add Venom Performance products. Ckeck out their nitrous systems, there is nothing like it available in South Africa, it's the worlds most advance system available.Browse the catagories for more super stuff from them. <p>For all female racers, you can purchase all Venom's products in purple with their GIRL POISON logo on it. See the picture of their GIRL POISON Civic below

 

Thanks

Wilco

Link to comment
Share on other sites

I had the same problem, but I have the solution...

 

$mainpage_info = "This is a test... <img src=\"picture.jpg\">
and also this.";

 

You have to put the \ before the " B)

Edited by Frisser
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...