# Image viewer

## Add an image viewer

1. Open an existing [application ](https://docs.novacura.com/flow-connect/working-with-connect/create-and-design/applications/create#create-application)or create a new one in an [application package](https://docs.novacura.com/flow-connect/working-with-connect/create-and-design/application-packages) and open it in the Designer.

   1. Add a User step.&#x20;
   2. Add an Image Viewer.
   3. In the URL, add the link "<https://is1-ssl.mzstatic.com/image/thumb/Purple112/v4/fc/e2/56/fce256cf-05e5-9efa-0df1-a28a24c820bb/AppIcon-0-1x_U007emarketing-0-0-0-7-0-0-85-220.png/512x512bb.jpg>"
   4. Click the **Play** button in the top right-hand corner to run the application in diagnostic mode.

   <figure><img src="/files/FL9SgdfeMaq5ksLEwqDM" alt=""><figcaption></figcaption></figure>
2. Go back to the Designer.

   1. In the Condition To Hide, write “{userId = “*your user id”*} *(the user Id you log in to Connect with)*
   2. Run the application in diagnostic mode again.

   <figure><img src="/files/18jiW3pvUU6bcbbiO5jd" alt=""><figcaption><p>The image is now hidden since the condition is fulfilled.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.novacura.com/flow-connect/reference/how-to-guides/create-user-step-controls/image-viewer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
