---
title: showImage
slug: viewer-2d/methods/showImage
docTags: 
createdAt: 2024-02-21T14:33:53.990Z
---

Shows the specified image.

## Example

::codepen{url="https://codepen.io/Catenda/embed/qBzPvaK"}

## Usage

```javascript
const imageId = "image-1";

viewer2d.showImage(imageId);
```

## Parameters

### imageId

Id of the image to show.

| **Type** | **Required** |
| -------- | ------------ |
| String   | Yes          |

