<p>Have a look a little further down in the Readme and you will see more information regarding Watermark.</p>

<p>From the Readme...</p>

<p>image: The image that is to be used as watermark. Just as the image parameter in the craft.imager.transformImage method, this can be an AssetFileModel, a string to a previously transformed Imager image, or a string to an external image.</p>

<pre><code>{% set logo = craft.assets({ id: 11 }).first() %}
{% set watermarkedImage = craft.imager.transformImage(image, { 
    width: 600, 
    watermark: { image: logo, width: 80, height: 80, position: { right: 30, bottom: 30 }, opacity: 0.8, blendMode: 'multiply' }
}) %}
</code></pre>

<p>Also a link to a Watermark demo <a href="https://imager.vaersaagod.no/?img=6&amp;demo=watermarks" rel="nofollow noreferrer">https://imager.vaersaagod.no/?img=6&amp;demo=watermarks</a></p>

CC BY-SA 4.0
2019-03-28T20:43:04.500Z
2019-03-28T20:43:04.500Z
JollyR
<p>First time using the Imager plugin and really unsure how to code it. Looking over the documentation I'm not clear on what the 'logo' is referring to to know what to change it to:</p>

<pre><code>{ watermark: { image: logo, width: 80, height: 80, position: { right: 30, bottom: 30 }, opacity: 0.8, blendMode: 'multiply' } }
</code></pre>

<p><a href="https://github.com/aelvan/Imager-Craft" rel="nofollow noreferrer">https://github.com/aelvan/Imager-Craft</a></p>

<p>My attempt so far:</p>

<pre><code>{% set imageWatermark = [{ watermark: { image: logo, width: 80, height: 80, position: { right: 30, bottom: 30 }, opacity: 0.8, blendMode: 'multiply' } }] %}

{% set transformedImages = craft.imager.transformImage(image, imageWatermark) %}

{# Output image #}
&lt;img src="{{ asset.getUrl('transformedImages') }}"&gt;
</code></pre>

<plugin-imager>
Imager plugin for watermarks
# Imager plugin for watermarks

(Asked by: username_0 on 2019-03-22)

First time using the Imager plugin and really unsure how to code it. Looking over the documentation I'm not clear on what the 'logo' is referring to to know what to change it to:
{ watermark: { image: logo, width: 80, height: 80, position: { right: 30, bottom: 30 }, opacity: 0.8, blendMode: 'multiply' } }

https://github.com/aelvan/Imager-Craft
My attempt so far:
{% set imageWatermark = [{ watermark: { image: logo, width: 80, height: 80, position: { right: 30, bottom: 30 }, opacity: 0.8, blendMode: 'multiply' } }] %}

{% set transformedImages = craft.imager.transformImage(image, imageWatermark) %}

{# Output image #}

**Tags:** plugin-imager


---

## 1 answers

### Answer by username_1 on 2019-03-28. Score: 2 | Accepted answer

Have a look a little further down in the Readme and you will see more information regarding Watermark.
From the Readme...
image: The image that is to be used as watermark. Just as the image parameter in the craft.imager.transformImage method, this can be an AssetFileModel, a string to a previously transformed Imager image, or a string to an external image.
{% set logo = craft.assets({ id: 11 }).first() %}
{% set watermarkedImage = craft.imager.transformImage(image, { 
    width: 600, 
    watermark: { image: logo, width: 80, height: 80, position: { right: 30, bottom: 30 }, opacity: 0.8, blendMode: 'multiply' }
}) %}

Also a link to a Watermark demo https://imager.vaersaagod.no/?img=6&demo=watermarks


---

