Jump to content
Sign in to follow this  
procomp65

Images on define mainpage contribution

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×