How to show images from access database

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default How to show images from access database

    Hi all,

    I'm new in ASP so,
    I have an access db with a table called IMAGES.
    It has two fields (IID and ImagePathAndFile).
    IID has the ID of the main table WEAPON and ImagePathAndFile holds
    the path to an images on the HD.

    I want a new window to popup with the image when i click on the name
    of the corresponding weapon in a list with search results.

    Hope someone knows what i mean

    Marco
    The Netherlands
    Krechting Guest

  2. Similar Questions and Discussions

    1. Problem in Retrieving Images From MS Access Database
      I'm trying to set-up an online catalogue of products that can be searched. I have achieved this with text, so I can get results from my search....
    2. Swap Images Do Not Show
      Hi All, I have create a banner with a navigation bar in Fireworks 2004 and when the file is viewed locally it all seems fine. But once I export it...
    3. Images don't show up in browser
      :confused; I'm updating my website with new images, and they show up fine on the edit page, but don't show up in the browser, just the red x. I've...
    4. Upload images to Access database
      How can I easy upload picture to an MS access database.
    5. background images don't show
      Tim: It's a known misbehavior of DW4. Are you using DMX? -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you...
  3. #2

    Default Re: How to show images from access database

    yea, just make an output into your html, like <img
    src="<%=yourRecordset("yourfield")%>"/> if the file has just virtual path.
    or if its phisical one, just do the "conversion" to virtual paht before
    insering it into @src attrib.

    cheers,
    --
    <spider/>
    *For live help you can find me on #wdk within DalNET IRC

    "Krechting" <m.krechting@chello.nl> wrote in message
    news:a71c776d.0312211502.70af0a7b@posting.google.c om...
    : Hi all,
    :
    : I'm new in ASP so,
    : I have an access db with a table called IMAGES.
    : It has two fields (IID and ImagePathAndFile).
    : IID has the ID of the main table WEAPON and ImagePathAndFile holds
    : the path to an images on the HD.
    :
    : I want a new window to popup with the image when i click on the name
    : of the corresponding weapon in a list with search results.
    :
    : Hope someone knows what i mean
    :
    : Marco
    : The Netherlands


    Guest

  4. #3

    Default Re: How to show images from access database

    Tnx Spider,

    But I don't think it is that easy.
    Lets say I have a grid with some search results.
    One of the fields is the path to the image. You see I have two tables
    which are linked thru the ID field. So the WEAPON table ID is the same
    as the IMAGES tables IID. If they match we have the right images.
    So I'm not inserting an images in the code, it's just a hyperlink which
    has to open a new form showing the image behind the path.

    Regards,

    Marco


    "<spider/>" <spiderNOSPAM@kipr.net> wrote in message news:<bs5lq4$9j7gb$1@ID-155519.news.uni-berlin.de>...
    > yea, just make an output into your html, like <img
    > src="<%=yourRecordset("yourfield")%>"/> if the file has just virtual path.
    > or if its phisical one, just do the "conversion" to virtual paht before
    > insering it into @src attrib.
    >
    > cheers,
    > --
    > <spider/>
    > *For live help you can find me on #wdk within DalNET IRC
    >
    > "Krechting" <m.krechting@chello.nl> wrote in message
    > news:a71c776d.0312211502.70af0a7b@posting.google.c om...
    > : Hi all,
    > :
    > : I'm new in ASP so,
    > : I have an access db with a table called IMAGES.
    > : It has two fields (IID and ImagePathAndFile).
    > : IID has the ID of the main table WEAPON and ImagePathAndFile holds
    > : the path to an images on the HD.
    > :
    > : I want a new window to popup with the image when i click on the name
    > : of the corresponding weapon in a list with search results.
    > :
    > : Hope someone knows what i mean
    > :
    > : Marco
    > : The Netherlands
    Krechting Guest

  5. #4

    Default Re: How to show images from access database

    On 22 Dec 2003 01:10:56 -0800, [email]m.krechting@chello.nl[/email] (Krechting)
    wrote:
    >But I don't think it is that easy.
    >Lets say I have a grid with some search results.
    >One of the fields is the path to the image. You see I have two tables
    >which are linked thru the ID field. So the WEAPON table ID is the same
    >as the IMAGES tables IID. If they match we have the right images.
    >So I'm not inserting an images in the code, it's just a hyperlink which
    >has to open a new form showing the image behind the path.
    That's actually quite simple, but it's client side code, not ASP. If
    you already can retrieve the record of the path, check a HTML or
    Javascript group for opening a link in a new window (or Google "open
    link in new window").

    Jeff

    >"<spider/>" <spiderNOSPAM@kipr.net> wrote in message news:<bs5lq4$9j7gb$1@ID-155519.news.uni-berlin.de>...
    >> yea, just make an output into your html, like <img
    >> src="<%=yourRecordset("yourfield")%>"/> if the file has just virtual path.
    >> or if its phisical one, just do the "conversion" to virtual paht before
    >> insering it into @src attrib.
    >>
    >> cheers,
    >> --
    >> <spider/>
    >> *For live help you can find me on #wdk within DalNET IRC
    >>
    >> "Krechting" <m.krechting@chello.nl> wrote in message
    >> news:a71c776d.0312211502.70af0a7b@posting.google.c om...
    >> : Hi all,
    >> :
    >> : I'm new in ASP so,
    >> : I have an access db with a table called IMAGES.
    >> : It has two fields (IID and ImagePathAndFile).
    >> : IID has the ID of the main table WEAPON and ImagePathAndFile holds
    >> : the path to an images on the HD.
    >> :
    >> : I want a new window to popup with the image when i click on the name
    >> : of the corresponding weapon in a list with search results.
    >> :
    >> : Hope someone knows what i mean
    >> :
    >> : Marco
    >> : The Netherlands
    Jeff Cochran Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139