JitseSchaafsma Posted March 28, 2003 Posted March 28, 2003 one of my databases contains a container field. In the container field i have pictures stored. On my mac where the database runs it is easy; i copy a picture and paste it into the container field and voila, their it is. Now i want this functionality with CDML. My problem is that (at least i think) that FMP-Fields can not be graphics. My question is twofold: 1] is it possible that the user copies a graphical object into a input field that can be submitted to a database 2] if the above is not possible how can i transfer a graphical file (JPG) to my server database. Sorry for this open question, any help is highly appreciated Jitse
Anatoli Posted March 28, 2003 Posted March 28, 2003 1] not possible 2] you may copy the file to server with another transport than FM and store link to that graphic in text field of FM. Then it is easy to display such graphic file in web page.
Garry Claridge Posted March 28, 2003 Posted March 28, 2003 If you are using OS X you can look at using PHP and maybe some Applescript. All the best. Garry
Unable Posted March 28, 2003 Posted March 28, 2003 If you have just two fields, one field to identify each record, and one container field containing a .jpg in each record, how many records do you anticipate having before you fill 2gig? Is it not better to store just the reference in the db file?
JitseSchaafsma Posted March 31, 2003 Author Posted March 31, 2003 Well thanks for all your suggestions, being spoiled with easy to use apps (filemaker) and easy OS (X), you (well I) get the feeling everything is possible. Thanks for bringing me back to earth. I know that applescript on the serverside can do a portion of the job. Maybe javascript on the client-side can do another portion of the job. I thought i have seen a filetransfer command in javascript, i will check the javascipt book on that on. Thanks for all, Jitse
FMWebschool Posted April 21, 2003 Posted April 21, 2003 I have developed a file/image upload for filemaker and you are welcome to the code, I used PHP and JavaScript. http://www.fmwebschool.com/fmimage.htm Let me know if this is what you are looking for.
Garry Claridge Posted April 21, 2003 Posted April 21, 2003 Here is a link to a thread showing how to do it with PHP: File Upload and PHP The PHP can be replaced by Applescript. Hence, it can add the image to a FM database All the best. Garry
Recommended Posts
This topic is 7915 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