View Single Post
Old Nov 7th, 2005, 8:26 AM   #2
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
You need JavaScript for that...

Yould make an image 'container' page in asp that takes in a parameter
from the url that tells it which image to load.
Dim image
image=Request.QueryString('img')
Response.Write("<img src='"&image&"' alt='Big Image' />")

To open the page you just need something like:
<a href="image.asp?img=path_to_pic.gif" onclick="return !window.open(this.href, 'image_window', 'width=400,height=400');">
   <img src="path_to_thumbnail.gif" alt="Thumbnail" style="border-style:none;" />
</a>

HTH,

--47.
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote