Jump to content
Sign in to follow this  
choobakka

image help

Recommended Posts

im not sure if this is an ASP problem or a JavaScript problem so here goes:i am using dreamwaver as my developmental tool which interacts with an Access database. one of the fields within a table in the database is a .jpg reference to a picture(s) i have. it has the same name as the .jpg picture (ie thispicture.jpg)i would like to store all of my pictures on the web server and then when the user selects the field from a dropdown list, i would like that .jpg reference to be inserted as a html reference (ie img src=thispicture.jpg) in the webpage and then what would happen is that the corresponding picture on the webserver would be displayed.any ideas?thanks

Share this post


Link to post
Share on other sites

HiYou can do this in ASPWrite a SQL query to get the jpeg image reference and store it in some variable eg: IMGNAME, then write as below.<img src"<%=IMGNAME%>" />

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...