July 7, 200124 yr Newbies 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!!!!
July 8, 200124 yr 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" ... ?
July 9, 200124 yr 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.
July 9, 200124 yr 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
July 9, 200124 yr 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
July 10, 200124 yr 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.
July 11, 200124 yr 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
Create an account or sign in to comment