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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QLPreviewPanel.AddImage
Adds an image to the list of files to preview.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| QuickLook | 4.3 | Yes | No | No | No | Yes |
MBS( "QLPreviewPanel.AddImage"; Image { ; Title } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Image | The image as container. | $img | |
| Title | The title for the image. | "My Holiday" | Optional |
Result
Returns OK or error.
Description
Adds an image to the list of files to preview.If you have an image file, better use QLPreviewPanel.AddFile function.
The container can contain an image (GIF, PNG, BMP, JPEG) or an image file (TIFF, BMP, PNG, JPEG and other formats supported by macOS).
Either we use file path from FileMaker's external container storage directly or we write a temporary file, which is cleared later when app quits or panel is cleared.
See also
Example Databases
Created 18th August 2014, last changed 10th August 2020
QLPreviewPanel.AddFile - QLPreviewPanel.AddPDF
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins