# SharinPix Transformation - Get your images watermarked

{% hint style="info" %}
This article demonstrates how to get your image watermarked using the SharinPix Transformation feature.
{% endhint %}

{% hint style="warning" %}
**Note:**&#x20;

1. This article assumes that the **SharinPix Image Sync** feature has been activated. For more information on how to activate the SharinPix Image Sync feature, refer to the following article: [Setup SharinPix Image Sync](https://docs.sharinpix.com/documentation/image-sync/setup-sharinpix-image-sync)
2. &#x20;Before going deeper on SharinPix Transformation capabilities, please check the[ basics of SharinPix Transformation (to resize images)](https://docs.sharinpix.com/documentation/image-sync/sharinpix-transformation-get-your-images-automatically-resized).
   {% endhint %}

## Access the SharinPix Transformation feature

To access the SharinPix Transformation settings, follow the steps below:

* From the *Setup* page, type **Custom Metadata Types** using the *Quick Find* box
* Next, click on **Manage Records** next to **SharinPix Transformation**

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-849db17ea08b67e3e8847b55a8838fd02c4f8503%2Fscreenshot-sharinpix-fsl-demo-dev-ed.lightning.force.com-2022.02.04-15_51_56.png?alt=media)

* Then click on the **New** button

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-f3bd51f4e3a83f2356fdb5abec3ffd63bd9233a4%2Fscreenshot-sharinpix-fsl-demo-dev-ed.lightning.force.com-2022.02.04-15_55_41.png?alt=media)

You will then be directed to the page below:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-2ddadbd03c54abd80d892c79e8d11feb0cae1c11%2F2021_10_25_0k3_Kleki.png?alt=media)

The parameters labeled with **1**, **2** and **3** are described in details in the [SharinPix transformation basics](https://docs.sharinpix.com/documentation/image-sync/sharinpix-transformation-get-your-images-automatically-resized).

Parameters labeled with **4**, **5**, **6**, **7**, **8** and **9** are dedicated to the watermark.

## Specify the image to use as watermark - Image ID parameter

{% hint style="warning" %}
**Note:**

SharinPix watermarks work along Image Sync transformation and is based on SharinPix image used as static resource.
{% endhint %}

To retrieve the watermark's **Image ID**, follow the steps below:

* Upload the watermark image in any SharinPix album using an admin user
* Next, access the uploaded image from the **SharinPix Global Settings** as follows:
  * Using the *App Launcher*, search for the **SharinPix Settings** tab
  * Once on the **SharinPix Settings** page, click on the button **Go to Administration** **Dashboard.** This action will bring you to the SharinPix Global Settings
* Once on the global settings, click on the **Images** menu
* Next, click on your watermark image
* Then from the URL bar, copy the image ID as highlighted below:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-b9bfcef7cd50bbd79658a471b6953a2f22b766b1%2Fscreenshot--2022.02.04-16_23_51.png?alt=media)

For example, if your URL is as follows

<mark style="color:red;">`https://app.sharinpix.com/admin/images/f02bfe1c-91c7-4f19-9d8d-3f9a38cb5ad6`</mark>

your image ID will be the ID after the <mark style="color:red;">`images/`</mark>, that is, <mark style="color:red;">`f02bfe1c-91c7-4f19-9d8d-3f9a38cb5ad6`</mark>

* To finish, paste the image ID in the **Image Id** field of your SharinPix Transformation setting

## Watermark Size and Opacity - Watermark Size parameter

The watermark process takes as parameter a size and an opacity.

The size can be expressed in percentage or pixels.

The opacity is a percentage value between 0 and 100.

This should be setup in the Watermark Size parameter from the SharinPix Transformation.

it should respect the following pattern :

Examples:

<mark style="color:red;">`100x100;px;40`</mark> : Watermark with width 100px and height 100px with opacity 40.

<mark style="color:red;">`30;%;60`</mark> : Watermark with size 30% of backdrop image with opacity 60.

<mark style="color:red;">`30x20;%;60`</mark> : Watermark with width 30% and height 20% of backdrop image with opacity 60.
