> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/template-builder/template-editor/how-to-add-or-edit-images-in-a-template.md).

# ​How to Add or Edit Images in a Template

### Add an image

<figure><img src="/files/5N8kS06NAzlzKf9cYgpm" alt=""><figcaption></figcaption></figure>

1. Create a new template or open the template for editing.
2. Click inside the document body to place the cursor.
3. In the editor toolbar, click the **Image** ![](/files/s6bunVj6k1e5FS8mImAg) icon.
4. In the file picker, select an image and confirm.
5. The image is inserted at the cursor position.

{% hint style="info" %}
Supported formats:

* .png
* .jpg
* .jpeg
  {% endhint %}

### Edit image settings

{% columns %}
{% column width="58.333333333333336%" %}

1. Click the image to open the size controls.
2. Set the image width in **mm** or **%**.
3. Enter a width value manually, or use presets (25%, 50%, 100%).

{% hint style="info" %}
The height is calculated automatically to keep proportions. Sizing is relative to the document or the table cell where the image is placed.
{% endhint %}
{% endcolumn %}

{% column width="41.666666666666664%" %}

<figure><img src="/files/pJVd1yy2B4VjkxQzOS0W" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Restrictions

{% hint style="danger" %}
You cannot add images to a dynamic table.
{% endhint %}

**Image upload limits:**

* max file size: **5 MB**
* max resolution: **1024 × 768**

**Display limit:**

* max displayed width: **618 px**

{% hint style="info" %}
If you upload a 1024×768 image, it will be scaled down to 618 px while keeping proportions.
{% endhint %}

### Related topics

* [How to Create a Structured Template](/user/template-builder/template-editor/how-to-create-a-structured-template.md)
* [How to Add and Manage Links in a Template](/user/template-builder/template-editor/how-to-add-and-manage-links-in-a-template.md)
* [How to Add and Manage Static Tables](/user/template-builder/template-editor/how-to-add-and-manage-static-tables.md)
