Pictures in database

Results 1 to 2 of 2

Thread: Pictures in database

  1. #1
    TheAprilFOOL Guest

    Default Pictures in database

    I have an access database that I get info from. When info is displayed I want to display picture of product in table of info. I think I have read that it is not good to put the actual picture in the database but to put a path to the picture in the data field instead. Is this true. If so how do I get the picture- With the LoadPicture function. Any help on the correct way to do this is appreciated!

  2. #2
    Culture Guest

    Default RE: Pictures in database

    just hold the picture name.<BR>In your DB just have a field with "picture.jpg" or whatever in it, then in your asp have:<BR>(pseudo code)<BR><BR>recordset = select PicturesfromDB from DB<BR>&#060;img src="/pictures/&#060;%=recordset("PicturesfromDB")%&#062;"&#062;< BR><BR><BR>

Posting Permissions

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