Newbies eric_steeves Posted July 7, 2001 Newbies Posted July 7, 2001 Well here is what I am facing! I have an extensice HTML form that needs to allow users to post images into my FMP db. I have been working on this for a few weeks, and as far as I can tell FMP cannot handle the input. The form command I am using is: <input type="file" name="myFMPfield"> which displays the standard file location dialog when clicked. I can choose the file, and the correct path appears in the text field but FMP will not accept the input! Help!!!!
Keith M. Davie Posted July 8, 2001 Posted July 8, 2001 While I do not have direct experience with the input of images, I do not understand your code: <input type="file" ... Since you want to load an image, should this not read: <input type="image" ... ?
Anatoli Posted July 9, 2001 Posted July 9, 2001 You cannot “submit” images to FM from HTML. Only from Client. We are submitting pictures to normal web server with URL address. In FileMaker we are just storing reference to that picture e.g. src="http://www.address.cz/images/[FMP-field: logo, URL]" Simple and effective.
proton Posted July 9, 2001 Posted July 9, 2001 quote: Originally posted by esteeves: Well here is what I am facing! I have an extensice HTML form that needs to allow users to post images into my FMP db. I have been working on this for a few weeks, and as far as I can tell FMP cannot handle the input. The form command I am using is: <input type="file" name="myFMPfield"> which displays the standard file location dialog when clicked. I can choose the file, and the correct path appears in the text field but FMP will not accept the input! Help! Esteeves, Check out this topic: http://www.fmforums.com/ubb/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=13&t=000086
webdudes Posted July 9, 2001 Posted July 9, 2001 We had a similar problem for the City of Sacramento. They wanted to upload images to their FM5 db. We wrote a custom program for the client to upload via ftp (although other browser based uploaders would also work). Each hour we run a script on their server to scan records for images that need to be imported and then we import them via an applescript that uses graphic converter to open and copy them and then paste the data into the right field and record. I'm sure better solutions exist but this one works well. Note, they have to upload the name of the image along with the rest of the record's text data before the import can happen. Jerry WebDudes
Anatoli Posted July 10, 2001 Posted July 10, 2001 To serve images from web server will be faster and relive FM for data processing and not streaming the zeros and ones with pictures to the browsers.
John May - Point In Space Posted July 11, 2001 Posted July 11, 2001 Agreed - DON'T store your images in your Filemaker database - that's the solution. Instead, just store path references to them in your site structure. - John
Recommended Posts
This topic is 8528 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now