Forum Moderators: open
This is the line of code which sets img
<a href="JavaScript:imagePop('../asp/enlargeimage.asp?img=' + imageToEnlarge);">
imageToEnlarge is a var which changes when the user clicks
on a image
This is the code which sets imageToEnlarge
<div align="center"><a href="../zoom/aj72xx/zoom1.htm"
onclick="MM_swapImage('mainImg','','../../../images/product/aj72xx/aj72xx_big_1.jpg',1);
imageToEnlarge = escape('aj72xx/aj72xx_zoom_1.jpg'); return false;"><img src="../../../images/product/aj72xx/aj72xx_small_1.jpg" width="70" height="70" border="0" /></a></div></td>
the end result is that it creates a pop up window with
enlargeimage.asp in it, on the enlargeimage.asp page it is basically very simple just a layout with this line of asp code
<IMG SRC="../images/product/<%=Request.QueryString("img")%>">
That code is used to display an enlarged image of the one the user clicked on. The problem is is that this code worked perfect on an IIS two server and now i've switched over to a linux server and it seems these is a error with this line of code.
<IMG SRC="../images/product/<%=Request.QueryString("img")%>">
I hope this helps a little
If anybody wants to see a link of this code just message me and i can show you the application and maybe that would be easier.
Thanks
-Sith