Image not showing when using upload feature

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 1, 2012   (RSS)

Hi, I have just installed CMS 2.15, I have set up an image upload as I have normally done in the past in older versions, the image loads up but on the actual page it just shows the image url path, see the link:
http://www.church-house.co.uk/site_development/church_house_investments_profiles.php

Can you please help.

Re: [Mercer Design] Image not showing when using upload feature

By Damon - May 31, 2012

Hi,

I looks like you are probably using this code for the image:

<?php echo $upload['urlPath'] ?>

Try changing it to this:
<img src="<?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" alt="" />

Let me know if that fixes it.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/