Skip 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.

image import problem

Featured Replies

i've developed a solution (mac) that includes the ability to import pictures. the script goes as follows:

Set Error Capture [On]

Go to Field ["image']

Insert Picture []

Exit Record/Request

the solution is bound in a runtime (5.0) and the customer has placed the graphic support folder with the translators in the solution folder. jpegs don't seem to be supported (which is odd because the standard FM package supports it). i've advised to convert to pict or tiff, but once the user clicks on the import button in the file dialog, no image appears in his frame. since i've disabled the errors, nothing happens at all. i can't confirm this on my machine, because it always works (runtime or not). what other reason besides format conflict could make the import fail? i think the customer tried both importing the actual image as well as a reference only.

  • Newbies

Both the standard version of FM and the 5.0 runtime engine (for Windows) have the translator for JPEG (.jpg) built-in. Nothing has to be included in the System folder of a runtime for the runtime to be able to import JPEGs. You script should work.

Just a guess. Does the current layout have a portal with the image field in the portal. If so your script will fail because the image field is not on the current layout.

Regards

Mike Stephenson

  • Author

thanks for the info - the image field is not in a portal, so that's not the problem. when i run the script on my machine, it works. i've probed the user some more and found out that he's running the classic environment on his OS X box. is it possible that this creates problems?

also, i looked in the 'Claris Translators' folder inside the 'Solutions Extras' folder (which is part of the runtime distribution). there are only 2 files - EPSF PFLT and TIFF. i guess that means no jpg images can be imported. or perhaps someone knows whether there are additional filters available for download.

Make sure your JPEGs are saved in RGB mode, not CMYK. For whatever reason, CMYK-mode JPEGs cause JPEG Error #25 in FileMaker.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.