I need to click on an output image to view a larger image.
My current process.
page1.asp
basic form for selecting records from an Access database. IMAGENAME field contains a reference which allows me to call the image in page2.asp .
page2.asp
performs the database query and displays image and related fields from the database - outputs to standard html.
<!--Call The IMAGENAME to Display-->
<img HEIGHT="200" WIDTH="200" src="images/
<%=Server.HTMLEncode(objRS.Fields("IMAGENAME".Value)%>"
>
page2 output
<img HEIGHT="200" WIDTH="200" src="images/
10102438.jpg"
>
Can I use an <a href="Imagename"...></a> around the <img...> to do this? please show code or point me to a resource.
Or any other method you can suggest would be most apreciated.
PS I may output multiple images and records based on the initial page1 query.
Eric Searing
eric.searing@wcom.com
My current process.
page1.asp
basic form for selecting records from an Access database. IMAGENAME field contains a reference which allows me to call the image in page2.asp .
page2.asp
performs the database query and displays image and related fields from the database - outputs to standard html.
<!--Call The IMAGENAME to Display-->
<img HEIGHT="200" WIDTH="200" src="images/
<%=Server.HTMLEncode(objRS.Fields("IMAGENAME".Value)%>"
>
page2 output
<img HEIGHT="200" WIDTH="200" src="images/
10102438.jpg"
>
Can I use an <a href="Imagename"...></a> around the <img...> to do this? please show code or point me to a resource.
Or any other method you can suggest would be most apreciated.
PS I may output multiple images and records based on the initial page1 query.
Eric Searing
eric.searing@wcom.com