# PreviewImageOptions

> Options passed to [Titanium.Media.previewImage](https://titaniumsdk.com/docs/sdk/Titanium.Media.md#previewImage).

- Source: https://titaniumsdk.com/docs/sdk/13.4.0/PreviewImageOptions
- Titanium SDK version: 13.4.0
- Kind: pseudo
- Platforms: Android

## Properties

### error

- Type: Callback<PreviewImageError>
- Platforms: Android

Function called back if the preview fails. Check the `message` property of passed back parameter.

### image

- Type: Titanium.Blob
- Platforms: Android

The image to preview. Must be a blob based on a file, such as from [Titanium.Filesystem.File.read](https://titaniumsdk.com/docs/sdk/Titanium.Filesystem.File.md#read).

### success

- Type: Callback<SuccessResponse>
- Platforms: Android

Function to be called back if the preview succeeds. No info is passed.

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

