Skip to main content

Photo Picker Action

An action that selects multiple assets from the device's photo library.

Updated this week

Overview

Photo Picker actions natively open the device's photo library and allow the user to select a given number of photos and/or videos. Photo Picker actions save the selected photos in an array that can be used to populate a prototype.


Action Properties

Filter

Select the types of assets to be included in the library:

  • Any: All assets will be shown in the library; none will be filtered out.

  • Images

  • Screenshots

  • Videos

  • Slow-motion Videos

  • Timelapse Videos

  • Screen Recordings

Selection

Set if the native photo picker should order the selected assets or just select the assets:

  • Ordered: The assets will display their number order when selected. There is a "cancel" button.

  • Continuous: The assets will not display their number order when selected; instead all assets will be selected with a check mark. There is a "clear selection" button.

  • Continuous and Ordered: The assets will display their number order when selected but the photo picker will display a "clear selection" button.

Selection Limit

Set the maximum number of assets the user can select. To allow an unlimited number of assets, set this to 0.

Representation Mode

Set which image or video representation (JPG, HEIC) the asset should display as.

  • Auto

  • Compatible

  • Current

Compact on iPad

Set if the picker should open in a compact sheet layout instead of fullscreen. On iPad only; this will cause issues if turned on for iOS.


Expression Editor Properties


Output

PhotoPicker.output

Returns an array of the selected images and/or videos. Array properties can be used.

Output Types

PhotoPicker.outputTypes

Returns an array of the selected image and/or videos types. Array properties can be used.

Did this answer your question?