Database Images

Results 1 to 2 of 2

Thread: Database Images

  1. #1
    Join Date
    Dec 1969

    Default Database Images

    Hi there, I was wondering if anyone had any knowledge of how to Display Images from a Database. Does anyone have any idea of how I could do this using the HTML <IMG> Tag.

  2. #2
    Join Date
    Dec 1969

    Default RE: Database Images

    Hi,<BR>the easist way is to have a text field in your database with the path to the image file - something like imagesmyimage.gif.<BR>Select the field when you run your database query and then use the line<BR><BR>Response.Write ("&#060;img src="" & Recordset("Image") & """&#062;")<BR><BR>to display the image. This will pull the path to the image from the &#039;image&#039; field in your DB<BR><BR>You can also find more information on the aspfaqs..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts