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.

Linking filename paths to image??

Featured Replies

  • Author
  • Newbies

Hi,

Maybe this is a lame question (absolute newbie), but it is driving me nuts:

I'm trying to do an image database based on an older Excel database. I am using the Photo Catalog template provided with FM7.

I have thousands of images (jpg) in a folder but I only want to import into FM7 the images for which I have the selected file paths in a column in the Excel database.

But I simply do not know how to link the file paths to the image container in FM7.

I do not want to do "Import from Folder" because then I get over a thousand unwanted images... I only want the ones to which I have the selected path as text (D:xxxx.jpg).

I would most humbly appreciate anyone's help asap...

Thanks in advance,

B.

  • Newbies

Hi,

Maybe this is a lame question (absolute newbie), but it is driving me nuts:

I'm trying to do an image database based on an older Excel database. I am using the Photo Catalog template provided with FM7.

I have thousands of images (jpg) in a folder but I only want to import into FM7 the images for which I have the selected file paths in a column in the Excel database.

But I simply do not know how to link the file paths to the image container in FM7.

I do not want to do "Import from Folder" because then I get over a thousand unwanted images... I only want the ones to which I have the selected path as text (D:xxxx.jpg).

I would most humbly appreciate anyone's help asap...

Thanks in advance,

B.

You could use a tool like Troi File plug-in (or AppleScript on a Mac) to take a list and go get the images, one at a time.

Another simple alternative is the use the new to 7 ability to reference an image via a calculation, resulting in its relative file path (relative to the database file).

Calculation, with Container result, =

"image:" & relative folder path & file name

I don't know where the image folder is relative to the database. If it's "below" it, or nearby, it shouldn't be too hard to parse/build a relative path from the file path you have. To go up a folder, then down again, use the syntax:

"image:../folder path & file name

This is ONLY for referenced images obviously. If you want to embed, then I'd get Troi File. Or, like you say, import, then delete unwanted ones. Or rearrange the folder.

You could use a tool like Troi File plug-in (or AppleScript on a Mac) to take a list and go get the images, one at a time.

Another simple alternative is the use the new to 7 ability to reference an image via a calculation, resulting in its relative file path (relative to the database file).

Calculation, with Container result, =

"image:" & relative folder path & file name

I don't know where the image folder is relative to the database. If it's "below" it, or nearby, it shouldn't be too hard to parse/build a relative path from the file path you have. To go up a folder, then down again, use the syntax:

"image:../folder path & file name

This is ONLY for referenced images obviously. If you want to embed, then I'd get Troi File. Or, like you say, import, then delete unwanted ones. Or rearrange the folder.

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.