View Single Post
Old 10-09-2007, 09:45 PM   #3
m1a2x3x7's Avatar
Join Date: Mar 2007
Posts: 297

I did something like your wanting but I'm going from a small thumbnail to a large one. Here's the code i used.

it's a java and php script that pulls the correct image and then once click it opens it in a new browser.

<a href="urlName.php?image=<?php echo $row['lg_picture']; ?>" onclick="NewWindow(this.href,'name','<?php echo $row['lg_width']; ?>','<?php echo $row['lg_height']; ?>','yes');return false"><img src="folderName/<?php echo $row['sm_picture'];?>" width="100" height="100" hspace="15" vspace="1" border="0"/>
m1a2x3x7 is offline   Reply With Quote