1 Reply Latest reply on Dec 16, 2016 6:03 AM by mikebeargie

    Showing pictures on FM Go

    barand

      Dear Filemaker users,

       

      Whenever I use Go to to see a picture that is stored in the container I will have to wait a few minutes. To solve this problem I checked the option to permanently store the thumbnail. But the thumbnail is only stored after the picture has been loaded once.

       

      Is there a script step that creates a thumbnail for all the pictures?

       

      Update 1: Is the following script the answer to my question: GetThumbnail ( sourceField ; GetWidth ( sourceField ) ; GetHeight ( sourceField ) )

      ?

       

      Should I create a thumbnail photo loop that executes on all the photo's in the photo database??

       

      Kind regards,

       

      Baran Demir

        • 1. Re: Showing pictures on FM Go
          mikebeargie

          GetThumbnail() will replace the content of your container field with a smaller copy of the image file. In essence you wipe out the larger image and store a smaller one instead. It may be worth it to keep a second container field in your database that has an autoenter calc that stores a smaller image. Then only use that smaller container field in your iOS file.

           

          If you want to permanently store the data locally on iOS so that it has the fastest load time, then you need to look into a sync solution like MirrorSync that will just transfer the data itself to the iOS device rather than streaming it over WAN. Otherwise you are limited by the file size of the image, connection speed of the client and the upload speed of the server.