Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic image triggered by user

Status
Not open for further replies.

scantron

Programmer
Jul 4, 2002
27
CA
Hello,

I am trying to open a page from a hyperlink and have this page display a dynamic image. The image "Path" parameter is passed from the calling form via URL append (ex. The various image paths are stored in a db.Path field and is bound to an image object.

I know the connection is good because I can open that page independantly and navigate through all the images. The problem is just that when I try to open it from a calling page to view a specific image, it defaults to the first image in the db.

Thank you very much for your consideration in this matter.
 
post to troubleshoot your code. I'm sure you're not looping

user.gif

There's never time to do it right, but there's always time to do it over!
 
hand code this in
Code:
<%
imagePath=Request.Querystring(&quot;Path&quot;)
%>
<img src=&quot;<%=imagePath%>&quot;>

Cheech

[Peace][Pipe]
The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
That code works in order to display the proper image, but it also needs to access the proper record in the record set.

Ex. it is now showing the proper image, but still displays the description and ID of the first record in the record set. The question is really how can I have an image bound to a field in a recordset and call a certain record of it from another page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top