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
Driftwood Interactive
http://DriftwoodInteractive.com

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.

 

Comments

Log in to post comments.

 

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

Under construction. Email me your wish list for improvements.