Image watermark in Yii2
<p>I am using yii\imagine\Image extension and want to add a watermark to my image.</p>

<p>Here's my code: </p>

<pre><code>$watermarkImage = '@webroot/../images/watermark.png';
$image = '@webroot/../slike/img-4.jpg';
Image::watermark($image, $watermarkImage);
</code></pre>

<p>After this code is executed, nothing happens. What am I missing here?</p>