# Camera Input

## Add a camera input

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. Open the User step.
   3. Add a Camera Input.&#x20;
   4. In the Output, in the Target Variable, write "picture".
   5. In the Prompt, write "Take a picture or choose from your gallery".&#x20;
2. Click the **Play** button in the top right-hand corner to run the application in diagnostic mode.

<figure><img src="/files/PXJADg3OuDxobY5FKUPX" alt=""><figcaption><p>In the designer in the web, you only have the option to add a picture from your library.</p></figcaption></figure>

<figure><img src="/files/Fidu9nfi3Rkyfo4YD2uE" alt=""><figcaption><p>In the mobile application, you click the image-symbol to get the option to take a picture with your camera or choose an existing one from your library or a file. </p></figcaption></figure>

Once you have chosen a picture, you can edit it by clicking on it.&#x20;

<figure><img src="/files/kV2gC4J4lFCrNMa8kyg2" alt=""><figcaption></figcaption></figure>

2. In the menu on the top of the page, you have a variety of options to edit the picture.&#x20;

   * Crop and transform&#x20;
   * Annotation
   * Finetune
   * Filter
   * Frame
   * Resize

   Each options opens it's list of options, click through them to find what suits you best. You can undo your changes or zoom in/out on the upper, left side. You can cancel or save your changes, and reset the picture on the upper, right side.&#x20;
3. Condition to hide&#x20;
   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/mppUkxzWDnuGCzC7vKo8" 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/camera-input.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.
