Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    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 } )


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

ImagePicker.MediaIsVideo   -   ImagePicker.MediaPath

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins