I
I
Ilya17912017-01-25 18:17:50
CMS
Ilya1791, 2017-01-25 18:17:50

Can I set my own watermark indents in Bitrix?

Good afternoon!
I applied a watermark to product images in Bitrix.
I found this implementation example:

$arFilter_watermark = Array(Array('name' => 'watermark',   'position' => 'right', 'size'=>'coefficient',   'type'=>'image',   'alpha_level'=>'70',   'file'=>$_SERVER['DOCUMENT_ROOT'].'/bitrix/templates/eshop_bootstrap_blue/images/logo.png', "fill" => "exact"));

Everything works, but as I understand it, the position can only be set clearly on the sides: right, left, center, etc. That is, it will be located either in the center or pressed against the edge.
Is there any way to make it possible to position it, say, 10px from the top and 10px from the left?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2017-01-26
@pudovMaxim

You can try to make the watermark image itself with indents.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question