AnsweredAssumed Answered

Possible to create a Thumbnail from a Secure Container?

Question asked by SoCalFMDude on Apr 8, 2014
Latest reply on Oct 29, 2015 by SoCalFMDude

My fear and suspicion is that it is impossible to get a thumbnail of an image in a container field that is securly stored via Filemaker Server, due to the encryption. I'm thinking that on the folder import, the thumbnail is created prior to the encryption being performed.

 

Here is what I have tried:

 

When I import a batch using the Import Records script step -> Folder -> Picture and Movie Files, using Secure Storage, adding a thumbnail to another container field, it works perfectly.

 

When I try to import a File individually using Import File (on the same pdf file), I get an error "This file could not be translated using the selected file type." Of course, I never had an opportunity to select a file type!

 

So, I create a new record, select the container field, choose "Insert Picture" (because Insert PDF or File does not give me a preview of the image in the container). The Insert picture works fine, but then I cannot:

GetThumbnail(MainContainer;50;50) - it just leaves a "?" in the field. I have tried specifying the secure image path GetThumbnail(ImagePath;50;50) - using a field derived from GetContainerAttribute ( Attachment ; "MD5" ) or from GetContainerAttribute ( Attachment ; "externalFiles" ) which I figured would work.

 

Can anyone tell me how to make this happen?

Outcomes