# Image

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

FoxStudio makes adding and customizing images simple and intuitive. This guide walks you through the steps to add and edit images effectively in FoxStudio.

## How to add an image

{% hint style="success" %}
**Steps:**

1. In the FoxStudio editor, on the left Sidebar > Click **Add elements**, or press **E**.
2. Select **Media** > **Images** or in **Quick add**, select **Image** element.
3. Drag the image onto your canvas.
   {% endhint %}

## How to edit an image

Once you've added the image, you can customize it to match your design.

{% hint style="success" %}
**Steps:**

1. **Select** the relevant image element in the editor.
2. Use the tools bar above the selected image element to quickly edit it.

All the formatting tools below can be found in the right-handsided **Inspector** panel.
{% endhint %}

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

### Image fit

Adjust how the image fits within its container:

* **Keep image ratio**: Maintains the original aspect ratio of the image while resizing it to fit within the container.
* **Fill bounding box**: Stretches the image to fill the entire container, which may distort its aspect ratio.
* **Fit to bounding box**: Scales the image to fit within the container while ensuring the entire image is visible, with possible empty spaces.

{% tabs %}
{% tab title="Keep image ratio" %}

<figure><img src="/files/fXH77bdubV6jnpfdu9Vt" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Fill bounding box" %}

<figure><img src="/files/L26XrUePtTu65CnczxYP" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Fit to bouding box" %}

<figure><img src="/files/oFKs2gjbh8NGS11sCNfe" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Image shape

Select from pre-defined shapes (e.g., circle, hexagon, triangle) to apply unique styling to your image.

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

### Click action

Define what happens when users click on an image.

* **None**: No action is taken when the image is clicked. This is ideal for decorative or static images.
* **Open link**: Redirect users to a specific URL when the image is clicked.
* **Send email**: Opens the user's default email client to send an email.
  * You can specify:
    * **Email Address**: The recipient's email address.
    * **Subject**: The default subject line for the email.
* **Call phone**: Initiates a phone call when the image is clicked. Enter the phone number in the provided field.
* **Jump to anchor**:&#x20;

  * Scrolls the user to a specific section of the page.
  * Select or enter the anchor ID to link to the corresponding section.

  :question: Learn more: [Create an anchor link](/foxify-app/faqs-and-troubleshooting/faqs/create-an-anchor-link.md)
* **Open pop-up**: Displays a pop-up window containing additional information, media, or content when the image is clicked.


---

# 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.foxecom.com/foxify-app/foxstudio/add-and-edit-elements/image.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.
