Landy,
You can get the info you need from a container with the following exercise:

Insert a picture into a container field ("MyContainer") with "as reference" 
checked.
Create a calc field, "MyMetadata" with expression: GetAsText ( MyContainer ).

In this calc field you'll see the path, along with other metadata.

Will send you a sample file with does this on the Windows side, but the Mac 
won't be too different.

-- 
Steve Gerow
FileMaker 9/8/7 Certified Developer

President
Abrazos Data Consulting, Inc.
Pasadena, California
Member FileMaker Bus. Alliance


>  -------Original Message-------
>  From: Landy Atkinson <[email protected]>
>  Subject: Importing single photos into FMP10 database of images
>  Sent: Sep 18 '09 10:32
>  
>  I have used the Import File script step to import whole folders of  
>  images and a very important side benefit is that you also get the File  
>  Name, File Path and Image Thumbnail.  Knowing the image path, lets me  
>  parse the path to get other useful information based on the directory  
>  structure (such as the year and topic the imported file came from)  
>  that I put in the database along with the image.  This is very useful  
>  in searching the database for the images I want.  {NOTE:  This only  
>  work because as the images are saved from the camera to the server, I  
>  am careful about creating a YEAR folder with TOPIC folders inside.}
>  
>  If I want to import a single image into the database, I have found no  
>  such nice solution.  The Import Picture script step lets me select the  
>  desired image and gets it into the container field, but does not let  
>  me know the FILE NAME or the PATH from whence it came.  Any ideas how  
>  to set up a script to import single images and also keep track of the  
>  filename and where it came from?  Getting a thumbnail may be nice for  
>  a list view of images, but is not all that important to me.
>  
>  -Landy
>  

Reply via email to