Jump to content

Recommended Posts

When the thumnails are click only the first photo in the array shows. I have been unable to figure out where the problem is:

http://plsnm.com/info.php?id=467& f=1239807849_offer_DSC02197.JPG

 

here is the code snippet

if(!empty($a1[image]))

{

//$MyImages = explode("|", $a1[image]);

 

$ShowInfo .= "<table valign=top align=center height=50><tr>";

 

while(list(,$v) = each($im_array))

{

 

 

$ShowInfo .= "<td align=center valign=top width=\"50\" height=50><a href=\"info.php?id=$_GET[id]& f=$v\"><img src=\"re_images/$v\" width=50 height=50 border=0></a></td>";

}

 

$ShowInfo .= "</table><hr size=1 width=\"95%\" color=#336699><br>";

 

 

if(!empty($f))

{

$ShowInfo .= "<center><img src=\"re_images/$f\" height=480 width=640></center><br>";

}

else

{

$ShowInfo .= "<center><img src=\"re_images/$im_array[0]\" height=480 width=640></center><br>";

}

 

}

else

{

$ShowInfo .= "<br><center><img src=\"no_image.gif\"></center>";

}

 

any help is greatly appreciated

DD

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.