Skip to content
View in the app

A better way to browse. Learn more.

Learn more

link to folder of images???

Featured Replies

  • Newbies

Does anyone know how to have a field link to a folder on the desktop that contains many pictures?

Caveat: This is a single-user only solution. It will not work on a network.

There is a way. But you must take into consideration that everyone's Desktop has a different path, because of the short user name. Mine is: "Macintosh HD/Users/fej/Desktop/"

FileMaker doesn't know what your Desktop path is. AppleScript does. So what you can do is run a short AppleScript to set your Desktop path into a global. You also need to convert the Mac path ":" to "/". Then add your Folder path and file path, to get a full file path. The Folder path could be in either a regular text, or global if all pictures share the same path.

You can then add an full "image:/" prefix to produce an entire FileMaker image path:

imagemac:/Macintosh HD/Users/fej/Desktop/Pictures/Wounded_man.jpg

The calculation looks like this, with a Container result:

"imagemac:/" & DesktopPath & FolderPath & "/" & FileName

[optional]

There is also a relative image prefix, which is just "image:" You can have more than 1 reference for a file path, return separated. So, for fun, I included the relative path also. The image shows in either location, such as in this example file:

imagemac:/Macintosh HD/Users/fej/Desktop/Pictures/Wounded_man.jpg

image:Pictures/Wounded_man.jpg

ContainerPath_Desktop.zip

Create an account or sign in to comment

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.