> For the complete documentation index, see [llms.txt](https://docs.cloudimage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudimage.io/transformations/image-watermarking/static-watermark.md).

# Static watermark

This function will watermark selected images with the same watermark - an image set in the Cloudimage admin console. This is useful for placing your company logo, name, or other copyright information. If you would like to watermark different images with different watermarks, please refer to the [Dynamic watermark](/transformations/image-watermarking/dynamic-watermark.md) section.

## Step 1. Upload your watermark <a href="#od_90635baf" id="od_90635baf"></a>

Log in to your Cloudimage admin console, navigate to *Image Settings / Watermark,* and upload your default watermark using the uploader.

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

## Step 2. Start watermarking!

### Available parameters

| Parameter                                               | Syntax                                                                                                            | Description                                                                                                                    |       |        |                           |                     |                                                   |
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ----- | ------ | ------------------------- | ------------------- | ------------------------------------------------- |
| use watermark                                           | <mark style="color:purple;">**wat=1**</mark>                                                                      | **(required)** Activates the watermark function                                                                                |       |        |                           |                     |                                                   |
| watermark gravity                                       | <p><mark style="color:purple;"><strong>wat\_gravity=X</strong></mark><br><code>X=\[north                          | south]\[east                                                                                                                   | west] | center | </code><br><code>absolute | relative</code></p> | Defines the position to "anchor" the watermark to |
| watermark scaling (relative to original watermark size) | <p><mark style="color:purple;"><strong>wat\_scale=X</strong></mark><br><code>X=0..100</code></p>                  | Watermark image scaling defined in in percent of the watermark dimensions                                                      |       |        |                           |                     |                                                   |
| watermark scaling (relative to output image size)       | <p><mark style="color:purple;"><strong>wat\_scale=Xp</strong></mark><br><code>X=0..100p</code></p>                | Watermark image scaling defined in in percent of the output image dimensions                                                   |       |        |                           |                     |                                                   |
| watermark padding                                       | <p><mark style="color:purple;"><strong>wat\_pad=X\[p]\[,Y\[p]]</strong></mark><br><code>X/Y=0..100\[p]</code></p> | Adds padding from the anchoring point in pixels (**X**) or in percent (**Xp**)                                                 |       |        |                           |                     |                                                   |
| watermark positon                                       | <mark style="color:purple;">**wat\_pos=X\[,Y]**</mark>                                                            | <p>sets the position in percent from the resized image; works only with<br>wat\_gravity=absolute and wat\_gravity=relative</p> |       |        |                           |                     |                                                   |
| watermark opacity                                       | <p><mark style="color:purple;"><strong>wat\_opacity=X</strong></mark><br><code>X=0..1</code></p>                  | Defines watermark opacity                                                                                                      |       |        |                           |                     |                                                   |

#### Use watermark <a href="#od_cdeda1ea" id="od_cdeda1ea"></a>

To activate the watermark function, you need to include the **wat=1** parameter.

#### Watermark gravity <a href="#od_cdeda1ea" id="od_cdeda1ea"></a>

The **wat\_gravity** parameter allows you to define the position of the watermark. You can choose between "fixed" anchor points (**east**, **northeast**, **north**, **northwest**, **west**, **southwest**, **south**, **southeast**, and **center**) or define the exact position (**relative**, **absolute**).

When using "compass" point gravity, the **wat\_pad** parameter defines the offset from the chosen position. The padding can be defined in pixels (**wat\_pad=X\[,Y]**) or in percent of output size (**wat\_pad=Xp\[,Yp]**). The padding is applied after scaling the final image and then it is compressed (see Compression) and delivered via CDN.

To set the exact position of the watermark, you can choose **absolute** or **relative** gravity and use the **wat\_pos** parameter to define the position of the top left or center point of the watermark, respectively. The position is always defined in percent of the resized image dimensions.

#### Watermark size

The watermark can be scaled relative to the original watermark image (**wat\_scale=X**) or relative to the output image (**wat\_scale=Xp**).

{% hint style="info" %}
To keep the watermark-to-image proportions for all image resizes, you should use the **wat\_scale=Xp**.
{% endhint %}

Please note that the watermark cannot be larger than the image - if larger, it is always scaled down first to match the image dimensions. Then, the **wat\_scale** parameter values are applied.

### Examples

| Preview                                                             | Syntax                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](/files/mXj81Cu32RKFEXTEKgy8)                                    | [/samples.scaleflex.com/earth1.jpg?<mark style="color:orange;">**w=400**</mark>&<mark style="color:orange;">**h=240**</mark>&<mark style="color:purple;">**wat=1**</mark>&<mark style="color:purple;">**wat\_scale=30**</mark>&<mark style="color:purple;">**wat\_gravity=northwest**</mark>&<mark style="color:purple;">**wat\_pad=10,8**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/earth1.jpg?w=400\&h=240\&wat=1\&wat_scale=30\&wat_gravity=northwest\&wat_pad=10,8)                                                                                                                                                                                                                                                         |
| ![](/files/HU6zFMgmKtbccbWEyFfI)                                    | [/samples.scaleflex.com/boat.jpg?<mark style="color:orange;">**w=400**</mark>&<mark style="color:purple;">**wat=1**</mark>&<mark style="color:purple;">**wat\_scale=80**</mark>&<mark style="color:purple;">**wat\_gravity=center**</mark>&<mark style="color:purple;">**wat\_opacity=0.2**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/boat.jpg?w=400\&wat=1\&wat_scale=80\&wat_gravity=center\&wat_opacity=0.2)                                                                                                                                                                                                                                                                                                                 |
| ![](/files/of7acv1KDyNigpgIGryO)                                    | [/samples.scaleflex.com/ny\_doc.jpg?<mark style="color:orange;">**w=400**</mark>&<mark style="color:purple;">**wat=1**</mark>&<mark style="color:purple;">**wat\_scale=45**</mark>&<mark style="color:purple;">**wat\_gravity=north**</mark>&<mark style="color:purple;">**wat\_pad=0p,5p**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/ny_doc.jpg?w=400\&wat=1\&wat_scale=45\&wat_gravity=north\&wat_pad=0p,5p)                                                                                                                                                                                                                                                                                                                  |
| ![](/files/bmziRqDiYZngZVQ6q525)                                    | <p>Watermark scaled down to 45% of its original size (1178px), results in 530px watermark:<br><a href="https://doc.cloudimg.io/https://samples.scaleflex.com/tesla.jpg?w=1400&#x26;wat=1&#x26;wat_gravity=southwest&#x26;wat_scale=45&#x26;wat_pad=25">/samples.scaleflex.com/tesla.jpg?<mark style="color:orange;"><strong>w=1400</strong></mark>&<mark style="color:purple;"><strong>wat=1</strong></mark>&<mark style="color:purple;"><strong>wat\_gravity=southwest</strong></mark>&<mark style="color:purple;"><strong>wat\_scale=45</strong></mark>&<mark style="color:purple;"><strong>wat\_pad=15</strong></mark></a></p>                                                                                                                   |
| ![](/files/1j2sw6VGsbc8B3SCcmq3)                                    | <p>Watermark scaled relative to the output image dimensions (618px watermark):<br><a href="https://doc.cloudimg.io/https://samples.scaleflex.com/tesla.jpg?w=1400&#x26;wat=1&#x26;wat_gravity=southwest&#x26;wat_scale=45p&#x26;wat_pad=25">/samples.scaleflex.com/tesla.jpg?<mark style="color:orange;"><strong>w=1400</strong></mark>&<mark style="color:purple;"><strong>wat=1</strong></mark>&<mark style="color:purple;"><strong>wat\_gravity=southwest</strong></mark>&<mark style="color:purple;"><strong>wat\_scale=45p</strong></mark>&<mark style="color:purple;"><strong>wat\_pad=15</strong></mark></a></p>                                                                                                                             |
| <img src="/files/nSv4E9ASyM5ciCcSB2W0" alt="" data-size="original"> | <p>Absolute positioning - the top left corner of the watermark is position at 7% and 5% of the image width and height, respectively:</p><p><a href="https://doc.cloudimg.io/https://samples.scaleflex.com/earth1.jpg?w=400&#x26;h=240&#x26;wat=1&#x26;wat_scale=30&#x26;wat_gravity=absolute&#x26;wat_pos=7,5">/samples.scaleflex.com/earth1.jpg?<mark style="color:orange;"><strong>w=400</strong></mark>&<mark style="color:orange;"><strong>h=240</strong></mark>&<mark style="color:purple;"><strong>wat=1</strong></mark>&<mark style="color:purple;"><strong>wat\_scale=30</strong></mark>&<mark style="color:purple;"><strong>wat\_gravity=absolute</strong></mark>&<mark style="color:purple;"><strong>wat\_pos=7,5</strong></mark></a></p> |
