Creating HREF Link for image uploaded into DataBAse Posted: 10 Apr 2005
I would store all my small images named something like this: image1_small.gif; and all my big images with image1_big.gif. I'd parse a file name to get the actual name(image1) and save it in "fileName" variable. Then your link would look like this: <img src="file.asp?fileName=<%=fileName%>"> (see the status bar). In file.asp my Select would look like this: "Select from Images where ImageName like '"& request.queryString("filename") &"_"&request.queryString("size")&"'"
could you please share how you manage to do this Posted: 16 Aug 2007
In the show.asp i want to display the image along with text rather than an hperlink to image with associated text. In show.asp i have: replaced Response.Write "<a href=""file.asp?ID=" & rs("ID") & """>" with Response.write "<IMG SRC="file.asp?ID=" & rs("ID") & """>" but it doesn't work. Would appreciate any help you can offer.