interface GalleryImageOptions {
    correctOrientation?: boolean;
    height?: number;
    limit?: number;
    presentationStyle?: "fullscreen" | "popover";
    quality?: number;
    width?: number;
}

Properties

correctOrientation?: boolean

Whether to automatically rotate the image "up" to correct for orientation in portrait mode @default: true

Since

1.2.0

height?: number

The desired maximum height of the saved image. The aspect ratio is respected.

Since

1.2.0

limit?: number

iOS only: Maximum number of pictures the user will be able to choose.

Default

0 (unlimited)

Since

1.2.0

presentationStyle?: "fullscreen" | "popover"

iOS only: The presentation style of the Camera. @default: 'fullscreen'

Since

1.2.0

quality?: number

The quality of image to return as JPEG, from 0-100 Note: This option is only supported on Android and iOS.

Since

1.2.0

width?: number

The desired maximum width of the saved image. The aspect ratio is respected.

Since

1.2.0