Component: ImagePicker 
-----------------------

A panel for iOS to select or take picture.

You can take a new picture via camera, record video or pick an existing picture.  
See also [PhotoPicker](component_PhotoPicker.md) functions.  
  
Works fine up to macOS 15, but fails in macOS 26 due to a security problem with a remote view controller.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [7.3](newinversion73.md "First functions introduced with version 7.3.") / [13.2](newinversion132.md "Newest functions in version 13.2.") | 🔶 9% | ❌ No | ❌ No | ❌ No | ✅ 91% |

  
| Item | Details |
|:--|:--|
| [ContinuityCamera.Clear](ContinuityCameraClear.md)   Clears current result. | Mac only   9.2 |
| [ContinuityCamera.Import](ContinuityCameraImport.md)   Asks iPhone camera to import a document or photo. | Mac only   9.2 |
| [ContinuityCamera.PopupMenu](ContinuityCameraPopupMenu.md)   Shows the import from device popup menu. | Mac only   9.2 |
| [ContinuityCamera.Result](ContinuityCameraResult.md)   Queries result. | Mac only   9.2 |
| [ContinuityCamera.SetScriptTrigger](ContinuityCameraSetScriptTrigger.md)   Sets the script to trigger. | Mac only   9.2 |
| [ImagePicker.AvailableCaptureModesForCameraDevice](ImagePickerAvailableCaptureModesForCameraDevice.md)   Queries list of available modes. | iOS   7.3 |
| [ImagePicker.AvailableMediaTypesForSourceType](ImagePickerAvailableMediaTypesForSourceType.md)   Returns an array of the available media types for the specified source type. | iOS   7.3 |
| [ImagePicker.ClearMedia](ImagePickerClearMedia.md)   Clears current media. | iOS   7.3 |
| [ImagePicker.ClearOverlay](ImagePickerClearOverlay.md)   Clears an overlay image. | iOS   8.3 |
| [ImagePicker.Dismiss](ImagePickerDismiss.md)   Dismisses the dialog. | iOS   7.3 |
| [ImagePicker.GetAllowsEditing](ImagePickerGetAllowsEditing.md)   Gets whether editing is allowed. | iOS   7.3 |
| [ImagePicker.GetCameraCaptureMode](ImagePickerGetCameraCaptureMode.md)   Queries the capture mode. | iOS   7.3 |
| [ImagePicker.GetCameraDevice](ImagePickerGetCameraDevice.md)   Queries camera device. | iOS   7.3 |
| [ImagePicker.GetCameraFlashMode](ImagePickerGetCameraFlashMode.md)   Queries flash mode. | iOS   7.3 |
| [ImagePicker.GetEvaluate](ImagePickerGetEvaluate.md)   Queries the evaluation to run when email composer is done. | iOS   7.3 |
| [ImagePicker.GetFileName](ImagePickerGetFileName.md)   Queries the file name of the script to run when email composer is done. | iOS   7.3 |
| [ImagePicker.GetScriptName](ImagePickerGetScriptName.md)   Queries the script name of the script to run when email composer is done. | iOS   7.3 |
| [ImagePicker.GetShowsCameraControls](ImagePickerGetShowsCameraControls.md)   Queries camera controls visibility. | iOS   7.3 |
| [ImagePicker.GetSourceType](ImagePickerGetSourceType.md)   Gets the source type. | iOS   7.3 |
| [ImagePicker.GetVideoMaximumDuration](ImagePickerGetVideoMaximumDuration.md)   Queries maximum duration. | iOS   7.3 |
| [ImagePicker.HasMedia](ImagePickerHasMedia.md)   Queries whether media exists. | iOS   7.3 |
| [ImagePicker.IsCameraDeviceAvailable](ImagePickerIsCameraDeviceAvailable.md)   Checks camera availability. | iOS   7.3 |
| [ImagePicker.IsFlashAvailableForCameraDevice](ImagePickerIsFlashAvailableForCameraDevice.md)   Checks flash availability. | iOS   7.3 |
| [ImagePicker.IsPresented](ImagePickerIsPresented.md)   Checks whether panel is displayed. | iOS   7.3 |
| [ImagePicker.IsSourceTypeAvailable](ImagePickerIsSourceTypeAvailable.md)   Check for source availability. | iOS   7.3 |
| [ImagePicker.MediaCropRect](ImagePickerMediaCropRect.md)   Queries crop rectangle. | iOS   7.3 |
| [ImagePicker.MediaEditedImage](ImagePickerMediaEditedImage.md)   Queries the edited image. | iOS   7.3 |
| [ImagePicker.MediaIsImage](ImagePickerMediaIsImage.md)   Queries whether media type is image. | iOS   7.3 |
| [ImagePicker.MediaIsVideo](ImagePickerMediaIsVideo.md)   Queries whether media type is video. | iOS   7.3 |
| [ImagePicker.MediaMetadata](ImagePickerMediaMetadata.md)   Queries image metadata as JSON. | iOS   10.2 |
| [ImagePicker.MediaOriginalImage](ImagePickerMediaOriginalImage.md)   Queries the original image. | iOS   7.3 |
| [ImagePicker.MediaPath](ImagePickerMediaPath.md)   Queries path for media. | iOS   7.3 |
| [ImagePicker.MediaReferenceURL](ImagePickerMediaReferenceURL.md)   Queries reference URL for media. | iOS   7.3 |
| [ImagePicker.MediaType](ImagePickerMediaType.md)   Queries media type. | iOS   7.3 |
| [ImagePicker.MediaTypes](ImagePickerMediaTypes.md)   Queries media types. | iOS   7.3 |
| [ImagePicker.MediaURL](ImagePickerMediaURL.md)   Queries URL for media. | iOS   7.3 |
| [ImagePicker.New](ImagePickerNew.md)   Initializes the picker panel. | iOS   7.3 |
| [ImagePicker.Present](ImagePickerPresent.md)   Presents the picker view. | iOS   7.3 |
| [ImagePicker.SetAllowsEditing](ImagePickerSetAllowsEditing.md)   Sets whether editing is allowed. | iOS   7.3 |
| [ImagePicker.SetCameraCaptureMode](ImagePickerSetCameraCaptureMode.md)   Sets the capture mode. | iOS   7.3 |
| [ImagePicker.SetCameraDevice](ImagePickerSetCameraDevice.md)   Sets camera device. | iOS   7.3 |
| [ImagePicker.SetCameraFlashMode](ImagePickerSetCameraFlashMode.md)   Sets flash mode. | iOS   7.3 |
| [ImagePicker.SetEvaluate](ImagePickerSetEvaluate.md)   Sets the expression to call when composer is done. | iOS   7.3 |
| [ImagePicker.SetMediaTypes](ImagePickerSetMediaTypes.md)   Sets the list of media types to access. | iOS   13.2 |
| [ImagePicker.SetOverlayImage](ImagePickerSetOverlayImage.md)   Installs an overlay image to the picker. | iOS   8.3 |
| [ImagePicker.SetScript](ImagePickerSetScript.md)   Sets the script to call when picker is done. | iOS   7.3 |
| [ImagePicker.SetShowsCameraControls](ImagePickerSetShowsCameraControls.md)   Sets camera controls visibility. | iOS   7.3 |
| [ImagePicker.SetSourceType](ImagePickerSetSourceType.md)   Sets the source type. | iOS   7.3 |
| [ImagePicker.SetVideoMaximumDuration](ImagePickerSetVideoMaximumDuration.md)   Sets maximum duration. | iOS   7.3 |
| [ImagePicker.StartVideoCapture](ImagePickerStartVideoCapture.md)   Starts video capture. | iOS   7.3 |
| [ImagePicker.StopVideoCapture](ImagePickerStopVideoCapture.md)   Stops video capture. | iOS   7.3 |
| [ImagePicker.TakePicture](ImagePickerTakePicture.md)   Captures a still image using the camera. | iOS   7.3 |
| [ImagePicker.VideoIsCompatibleWithSavedPhotosAlbum](ImagePickerVideoIsCompatibleWithSavedPhotosAlbum.md)   Checks video. | iOS   7.3 |
| [ImagePicker.WriteImageToSavedPhotosAlbum](ImagePickerWriteImageToSavedPhotosAlbum.md)   Adds a photo to the saved photos album (camera roll). | iOS   7.3 |
| [ImagePicker.WriteVideoToSavedPhotosAlbum](ImagePickerWriteVideoToSavedPhotosAlbum.md)   Adds a video to the saved photos album. | iOS   7.3 |

55 functions shown.

### Release notes

- **Version 13.2**
    - Added [ImagePicker.SetMediaTypes](https://www.mbsplugins.eu/ImagePickerSetMediaTypes.shtml) function.
- **Version 10.3**
    - Changed [ImagePicker.Present](https://www.mbsplugins.eu/ImagePickerPresent.shtml) to center camera image if controls are disabled.
    - Improved [ImagePicker](https://www.mbsplugins.eu/component_ImagePicker.shtml) functions to avoid NSInternalInconsistencyException when presenting picker.
- **Version 10.2**
    - Added [ImagePicker.MediaMetadata](https://www.mbsplugins.eu/ImagePickerMediaMetadata.shtml) function.
    - Fixed [ImagePicker.SetOverlayImage](https://www.mbsplugins.eu/ImagePickerSetOverlayImage.shtml) to have overlay work properly when rotating the device.
    - Fixed problem with exception coming from [ImagePicker.Present](https://www.mbsplugins.eu/ImagePickerPresent.shtml) function.
- **Version 9.2**
    - Added new [ContinuityCamera](http://www.mbsplugins.eu/component_ImagePicker.shtml) functions for taking picture and scanning documents with iPhone or iPad to use on your Mac.
    - Added withEXIF parameter to [ImagePicker.MediaEditedImage](http://www.mbsplugins.eu/ImagePickerMediaEditedImage.shtml) and [ImagePicker.MediaOriginalImage](http://www.mbsplugins.eu/ImagePickerMediaOriginalImage.shtml) functions.
- **Version 8.3**
    - Added [ImagePicker.ClearOverlay](http://www.mbsplugins.eu/ImagePickerClearOverlay.shtml) and [ImagePicker.SetOverlayImage](http://www.mbsplugins.eu/ImagePickerSetOverlayImage.shtml) functions.

### Blog Entries

- [Useful iOS functions](https://www.mbsplugins.de/archive/2025-04-28/Useful_iOS_functions/monkeybreadsoftware_blog_filemaker)
- [PhotoPicker for iOS with FileMaker iOS SDK](https://www.mbsplugins.de/archive/2022-11-09/PhotoPicker_for_iOS_with_FileM/monkeybreadsoftware_blog_filemaker)
- [Ways to import images to FileMaker](https://www.mbsplugins.de/archive/2022-02-09/Ways_to_import_images_to_FileM/monkeybreadsoftware_blog_filemaker)
- [macOS Privacy and FileMaker](https://www.mbsplugins.de/archive/2020-08-11/macOS_Privacy_and_FileMaker/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.3pr2](https://www.mbsplugins.de/archive/2020-06-08/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 9.2 - More than 5800 Functions In One Plugin](https://www.mbsplugins.de/archive/2019-05-21/MBS_FileMaker_Plugin_92_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.3 released](https://www.mbsplugins.de/archive/2018-07-17/MBS_FileMaker_Plugin_83_releas/monkeybreadsoftware_blog_filemaker)
- [Overlay image for Image Picker](https://www.mbsplugins.de/archive/2018-05-25/Overlay_image_for_Image_Picker/monkeybreadsoftware_blog_filemaker)
- [5000 Functions in MBS Plugin](https://www.mbsplugins.de/archive/2017-11-11/5000_Functions_in_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [Image Picker for FileMaker iOS SDK apps with MBS Plugin](https://www.mbsplugins.de/archive/2017-06-20/Image_Picker_for_FileMaker_iOS/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2023, Seite 30 bis 31](https://filemaker-magazin.de/neuigkeit/4218-Appetithappen-FMM_202301)
- [Ausgabe 6/2019, Seite 36 bis 37](https://filemaker-magazin.de/neuigkeit/4064-Appetithappen-FMM_201906)

### Example Databases

- [iOS/Examples/iOS ImagePicker](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/iOS%20ImagePicker.shtml#4ScriptAnchor_)

[HTML Version](component_ImagePicker.shtml)