Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5946 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I import scanned photos into FileMaker 7 and then add comments to the resulting records. If I import manually 'File > Import Records > Folder' I get the option to import attribute fields such as image, filename, file path and image thumbnail. However, if I try to create a script to import a picture all I get is the image, not the extra attributes. Am I missing something?

Posted

Are you able to get a trial version of FM Pro9 as this may give you the options you are after as you are able to select "File/Folder" during the creation of the script step. I do not have version 7 to check against.

Regards

Phillip

Posted

Are you importing as [x] As reference only or not? When that is unchecked, you "embed" the entire picture into FileMaker, using Insert Picture (single file), then all FileMaker stores (other than the picture) is the file name; which you can see with a calculation, result Text, GetAsText ( container field ).

The same calculation on a "referenced" picture file will return:

dimensions

relative path

absolute path

The last line is much the same as the Full Path imported with Import Folder, except that it is in FileMaker syntax, i.e., prefixed with "imagemac:/", instead of "file://" (the URL syntax that Import Folder brings in).

But if you want the creation of thumbnails, and you want to import a single file at a time, then I think you'll need to use AppleScript. The thumbnail creation can be done with the Image Events background app. If you want to do that, let me know, I have examples (here somewhere). Specify whether you're embedding the picture or not, as they can be done somewhat differently.

This topic is 5946 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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