Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Queries the original image.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImagePicker 7.3 No No No No Yes
MBS( "ImagePicker.MediaOriginalImage" { ; ImageType; FileName } )   More


Parameter Description Example value
ImageType Optional
The image type to return.
Can be png or jpeg.
FileName Optional
The file name to include in container value.


Returns OK or error.


Queries the original image.
If no image is available, we return empty result.


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

Created 17th June 2017, last changed 20th June 2017

ImagePicker.MediaIsVideo   -   ImagePicker.MediaPath

Feedback: Report problem or ask question.

MBS Xojo Plugins