> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/selphi-biometria-facial/propiedades/previewimage.md).

# previewImage

## Details

**Attribute:** `preview-image`

**Type:** `boolean`

**Default value:** `true`

## Morphology

```typescript
selphi.previewImage = true;
```

## Description

Displays a preview of the best captured image before completing the Flow in `facephi-selphi-widget`.

### Additional information

**Compatibility:** Replaces `previewCapture` in earlier versions of SDK Web.

**Recommended property:** use `showResultAfterCapture` in new integrations.

**Precedence:** if you define `previewImage` and `showResultAfterCapture` at the same time, wins `showResultAfterCapture` wins and a precedence warning is emitted in the console.

**Deprecation:** `previewImage` is still operational in this Version, but will be removed in the next major version. Use only `previewImage` issues a deprecation warning in the console.

***

## Example

```jsx
<facephi-selphi-widget
    previewImage={true}
/>
```
