not sure i understand why you would need to use a php script for this? why
not just use a static html img tag, if all you're doing is opening the
picture in a new window?
-jon
-Original Message-
From: Brett Lathrope [mailto:brett;lathrope.com]
Sent: Tuesday, November 12, 2002 1:44 PM
To:
I have several thumbnail images spread out in my website. I thought
it
would be cool to write a single PHP script so that when they click on
the
thumbnail, the name of the larger pic would be passed to a PHP script
that
displays it on its own page...I don't even care about a link back,
they
You could do something as simple as this:
a href=displayPic.php?image=/path/to/image.jpgtitle=This is my titleimg
src=/thumb.jpg border=0/a
I think most browsers will convert the spaces in the link (when clicked) to '+' or
'%20', but this may not be true with some less popular browsers (i