Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

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.

If you are using OS X you can look at using PHP and maybe some Applescript.

All the best.

Garry

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?

  • Author

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

  • 3 weeks later...

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.

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 smile.gif

All the best.

Garry

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.