Brian Dunning's FileMaker Custom Functions

phpMakeThumbnailFile ( origFile ; newFile ; newWidth ; newHeight )

Create a thumbnail file

  Average rating: 4.4 (29 votes) Log in to vote

Mark DeNyse   Mark DeNyse - Show more from this author
Driftwood Interactive

Share on Facebook Share on Twitter

  Sample input:
phpMakeThumbnailFile("picture1.jpg"; "picture1tn.jpg"; 160; 120)
  Sample output:
0 if success, < 0 if there's an error

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Creates a thumbnail image file given an image file. The resulting image file can be of a larger size, but typically this function is used to create small thumbnail pictures of larger ones.

Requires the SmartPill PHP plug-in from Scodigo.



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: