Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  


Sets which size plugin uses for preview images.

Component Version macOS Windows Linux Server iOS SDK
Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Plugin.SetPreviewSize"; Size )   More


Parameter Description Example
Size The size for width and height to use for generating previews. Default is 600. 600


Returns OK or error.


Sets which size plugin uses for preview images.
When plugin returns PDF or Image, we add JPEG preview.
e.g. in DynaPDF, PDFKit and GraphicsMagick functions.

With version 11.5 or later, you can set this to -1 to disable preview generation.


Set size for previews:

MBS( "Plugin.SetPreviewSize"; 1234 )

See also

Release notes

  • Version 11.5
    • Changed Plugin.SetPreviewSize to allow -1 for preview picture size to disable them.

Example Databases

Blog Entries

Created 9th March 2015, last changed 4th October 2021

Plugin.SetFunctions - Plugin.SetSuccessReturn

Feedback: Report problem or ask question.

MBS FileMaker Plugins

Start Chat