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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pictures and asp

Status
Not open for further replies.

Bastien

Programmer
May 29, 2000
1,683
CA
Hi All,

I have an Access DB, in which resides a path to a picture in the /images / folder. How do I use this path to pass the image to the browser. Do I need to use response.write and then the path or

should I use the response.binarywrite pathname...

So basically, how do I tell the server to pull out the pic from the images folder???

TIA Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
say you have the path pulled out of the database already and it resides in an ASP variable called 'thePath'.

There here's what you would do:

<img src=&quot;<%=thePath%>&quot;>

:)
Paul Prewett
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top