|
Posted by g0c on 11/16/05 12:22
hi all,
i have one page with thumbnails and i want to when
clicked on thumbnail to open a new page called pop.php
with original image in it, its not a problem to open
the original image as new pop up window i know but
i want to open the image in pop.php so i can do some
other stuff with it ..
basicaly the code on thumbnail page looks like this
print "<img src=\"$f\" alt=\"Open in popup window\" border=\"5\"
class=\"brub\"
onClick=\"MM_openBrWindow('pop.php','$photo_name','scrollbars=no,resizable=no,width=$width,height=$height')\"/>";
how the pop.php page can be aware what image i want to display in it,
i assume it's possible with cookie or even a hidden form element
but this is not the way i want of course :-)
i tried with pop.php?$photo_name but ... :-(
pop.php looks something like this ...
print "<img src=\"$photo_name\" width=\"$width\" height=\"$height\"
border=\"0\">";
and that should be enough to display the right image, right ?
any clues ?
big TIA,
goc
[Back to original message]
|