Random_image block - Image not showing

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Random_image block - Image not showing
D4CUE
CZ Newbie
D4CUE has been a member for over 19 year's 19 Year Member
uk.gif
Gender: Male
Website:
Status: Offline
Joined: May 16, 2005
0.00 posts per day
Posts: 2
Points: 138
   
Ive read other threads about this problem but none of them seem to end the problem once and for all.
Random_image block is being very temperimental.
It has shown an image once or twice but the majority of the time the block is empty.

Here is the code Ive used:
case 1:
return "<img src=\"albums\Site-album\Bri01.thumb.jpg\">";

Ive also used:
case 1:
"<a href=\"www.buzzerspoolclub.co.uk\gallery\albums.php\"><img src=\"albums\Site-album\Bri01.thumb.jpg\"><\a>";

First of all is this html correct for either way of doing it?
Second if it is correct why am I having so much grief?



Back to top Reply with quote
#2   re: Random_image block - Image not showing
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
The path to the image seems to be ok. I was able to pull it up in my broswer.

Are you using backslashes in your code? If you are, that's most likely your problem.

This:
"<a href=\"www.buzzerspoolclub.co.uk\gallery\albums.php\"><img src=\"albums\Site-album\Bri01.thumb.jpg\"><\a>";


should be:
"<a href=\"www.buzzerspoolclub.co.uk/gallery/albums.php\"><img src=\"albums/Site-album/Bri01.thumb.jpg\"></a>";



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum