Results 1 to 3 of 3

Thread: image search

  1. #1
    Join Date
    Jan 2003
    Location
    Boise
    Posts
    4

    Unanswered: image search

    I have a frontpage database in my website that I need to pull an image from a file of about 75 images. I have about 250 database objects. How can I get my database link to pull an image of an object without having to create 75 or more individual links to the images. Example: The user would search for a Nissan Frontier. The database shows approximately 25 frontiers, each with an individual stock number, and 15 of them have a picture, in a file with the same stock number, available. How do I create a link that would SEARCH the image file and find the image with the matching stock number and display it? I currently have to create an individual link within a column for each individual stock number with a matching image stock number.

    I know this can be done, but, how?

  2. #2
    Join Date
    Feb 2003
    Location
    Los Angeles
    Posts
    18

    Arrow

    hopes this is what your looking for

    Dim ImgFile
    Set ImgFile = CreateObject("Scripting.FileSystemObject")
    If ImgFile.FileExists("Path*") Then
    'your code for the image . . .
    End If


    The "path" stand for file location on your system
    (didn't try it on the web) + the file full name,
    exmpl : "c:\images\Image.gif"
    Eddie.

  3. #3
    Join Date
    Jan 2003
    Location
    Boise
    Posts
    4
    Thankyou, will give it a try and let you know. It may be a couple of days before I can get to it though. Thanks again, Chris

Posting Permissions

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