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
ImagePicker.MediaOriginalImage
Queries the original image.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| ImagePicker | 7.3 | No | No | No | No | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| ImageType | The image type to return. Can be png or jpeg. |
"jpeg" | Optional |
| FileName | The file name to include in container value. | "test.jpg" | Optional |
| WithEXIF | Pass 1 to include metadata in image. Default is 0 for no metadata. |
0 | Optional |
Result
Returns OK or error.
Description
Queries the original image.If no image is available, we return empty result.
Examples
Store image:
If [ MBS( "ImagePicker.HasMedia" ) ]
New Record/Request
Set Variable [ $Image ; Value: MBS( "ImagePicker.MediaEditedImage"; "PNG") ]
If [ IsEmpty ( $image ) ]
Set Variable [ $Image ; Value: MBS( "ImagePicker.MediaOriginalImage"; "PNG") ]
End If
Set Field [ ImagePicker::Picture ; $image ]
Commit Records/Requests [ With dialog: Off ]
End If
See also
Example Databases
Blog Entries
Release notes
- Version 9.2
- Added withEXIF parameter to ImagePicker.MediaEditedImage and ImagePicker.MediaOriginalImage functions.
Created 17th June 2017, last changed 14th May 2019
ImagePicker.MediaMetadata - ImagePicker.MediaPath
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins