Login     Sign up
Picture not showing in ads section.
Gil (@doyzki)
Join date: Nov 27th 2010
Community posts: 19
View Profile
Send Message

Hi All!

I am currently using the "Curve" theme. I tried adding an add to the site, and when I entered the code under "Manage Blocks" and save it, what will appear is only a broken icon of the .gif file I entered. The .gif files were correctly uploaded to the Curve theme folder in my server.

These are the codes I used.

<a href="[url]http://www.facebook.com/discarte?ref=ts/"[/url] target="_blank">
<img src="msu1.gif" width="150" height="200" border="1" alt="Photo of a big bunny rabbit!" />
</a>

or

<?php
echo "<a href=\"[url]http://www.facebook.com/discarte?ref=ts/\"[/url] target=\"_blank\">\n";
echo "<img src=\"msu1.gif\" width=\"150\" height=\"200\" border=\"1\" alt=\"Photo of a big bunny rabbit!\" />\n";
echo "</a>\n";
?>

None of these codes seemed to work.
My Jcow is 4.2.0

Please advise.
Thanks!

172 months ago
DeFender (@defender)
Join date: Oct 1st 2010
Community posts: 167
View Profile
Send Message

think , it is wrong way

src="msu1.gif"

place msu1.gif to the root or change path to
src="'.uhome().'/themes/yourtheme/msu1.gif"

172 months ago
Gil (@doyzki)
Join date: Nov 27th 2010
Community posts: 19
View Profile
Send Message

Hi there, you are absolutely right! I re-uploaded the files to the root and it worked like a charm!

Thanks much, you've been a great help defender!

172 months ago
Tim (@timothy)
Join date: Mar 17th 2011
Community posts: 31
View Profile
Send Message

Hell Defender, can you direct me on how to add a picture to the ad section? Which root folder should I go to and what format should the image be in (jpeg, png gif etc)? Finally how do I add the picture?

168 months ago
Tim (@timothy)
Join date: Mar 17th 2011
Community posts: 31
View Profile
Send Message

Hello... Defender, can you direct me on how to add a picture to the ad section? Which root folder should I go to and what format should the image be in (jpeg, png gif etc)? Finally how do I add the picture?

168 months ago