|
| |
|
|
pd_it_guy
Posts: 191 Joined: 3/4/2008 Status: offline
|
Picture Problems - 8/18/2008 11:42:47
This is kind of the same issue duane and mjmtravel are working on, but a lot more basic, I am afraid. I want to store images in an Access DB. Makes no difference how they are stored, whether actually contained or merely as pointers to an image bin on the website. All I want is for the image to show up when requested, when called by the FP web. So... When first adding the record to the db, when I get to the form element that is for the image, what is it- a text box.. or ?? how do I prompt the record inputter with a Windows Browse for Image to select, and somehow have that, whatever I am actually saving, end up when I do my INSERT INTO. Is the kind of data stored in the access db a hyperlink, or a "package" or what? Whatever I have saved, when I call for them, do you just do the fprs("imagefield") in the list or table along with all the other stuff? Does the browser know to display the image if only provided a link? I know this is basic stuff but never worked with images before. Thanks so much for your patience.
|
|
|
|
Ro
Posts: 60 Joined: 12/14/2004 From: Auckland's North Shore, New Zealand Status: offline
|
RE: Picture Problems - 9/7/2008 20:52:17
Hi I'm not sure where to start after reading your post... but I thik I've done something similar where I use a regular Upload form to pull in the graphic. It's then stored in an "Upload" folder. The location is stored in your database table/field. Then to bring it back up you just use a regular query - I generally start with a DRW then put it on a diet - then change the field info to a image. Using this kind of code:
<img src="<%=FP_FieldVal(fp_rs,"your_field_name")%>">
The graphic looks like a broken link in Design view but it should work. Just yell if you need some upload and edit upload code. Cheers and good luck Ro
|
|
|
|
pd_it_guy
Posts: 191 Joined: 3/4/2008 Status: offline
|
RE: Picture Problems - 9/8/2008 10:22:20
Ro, Thanks for getting back. The thing that I don't know how to do is, where you are filling out a form and it calls for an image to be input, there is a text box and usually a button called browse, where you open a window and pick the image, and then it not only copies the image to the upload file, but puts the href link in the db where the browser can get it later on. And have it fetch the image to display. Where do you find that code/ module/ script. Thanks.
|
|
|
|
pd_it_guy
Posts: 191 Joined: 3/4/2008 Status: offline
|
RE: Picture Problems - 9/8/2008 10:45:40
Thanks! Will give it a try and report back.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|