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.

Exporting image data from container field to file

Featured Replies

  • Newbies

Hello.

I am working with a Filemaker application which stores image records in .fp5 files. I'm trying to figure out a way to export image data to external files, using another field value for filenames.

From what I've read so far in various forums here, ExportFM seems like the most suitable option.

Ultimately, my plan is to script the export, resize (using Photoshop) and upload of these images for web use. The last two I've done before, but I'm pretty new to Filemaker.

Has anyone previously implemented anything to export image data to files from image container fields? Are there other options besides ExportFM?

Thanks much.

  • Newbies

If you use FM7, it is an option included.

Just right-click (or ctrl-click) on the container and you'll have "export image".

You can also export within a script.

Than guess you need an applescript to open the imagine in photoshop and relink it.

Bye!

You can export a JPEG from a FileMaker container field using only AppleScript. It may or may not be as convenient as a plug-in. It requires a small Scripting Addition, which has to go in one of the 2 Scripting Additions folders. I've included the link to get it. Some lines are --commented. You must have the fields (cells) in FileMaker, and they should be on the current layout.

--tell application "FileMaker Developer"

-- line not needed inside FileMaker, only in Script Editor

tell current record of window 1

set txtPath to cell "thePath"

set imageCell to cell "theImage"

set folderName to cell "folderName"

set folderPath to cell "folderPath"

end tell

--end tell

tell application "Finder"

if (folder folderName of desktop exists) is not true then

-- creates a new folder if it doesn't exist

set newFolder to make new folder at desktop with properties {name:folderName}

update newFolder

end if

set thePath to txtPath as file specification

end tell

set theImage to giconvert imageCell type "JPEG" image thePath

-- requires GraphicsImporter OSAX, http://osaxen.com/files/graphicsimporter2.2.html

(P.S. GI can resize an image to set bounds, but it cannot scale. The Image Events background app can; don't remember if it's included with Jaguar.)

  • Author
  • Newbies

Thanks for the replies. Will give the AppleScript approach a try.

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.