Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2007
    Posts
    1

    Red face Unanswered: upload images to a path and save the path on the sql database (was "Please Help")

    i am a new user of ASPvbs , I am Making a Personal Site where i collect data from users and Photos , i dont know how to upload images to a path and save the path on the sql database , can any one help me , i am sure it will be easy for you , but as a beginner it is very hard for me , please reply in details so i can understand it , Please Note i am using Dreamweaver8

    Thanks
    Last edited by bobgab; 03-30-07 at 07:00.

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,469
    Provided Answers: 10
    I wouldn't put the Images in the database make i hard to display then

    What i do UPload images check is it a jpg same it to the images/photo folder

    add the filename to the database and update record

    don't forget to write the delete images code and run that when you are deleting the records

    Them the ASP code look somelike

    <img src="images/photo/<%=rst("FeildNameOfPhoto")%>" ..... >
    hope this help

    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
    DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
    THEY'RE BEHIND YOU FOR A REASON

Posting Permissions

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