A
A
Alexander2018-09-03 16:02:48
1C-Bitrix
Alexander, 2018-09-03 16:02:48

Watermark on the picture?

Element property: file, multiple, image. When adding a new image to a property, how do I add a watermark to it? 5b8d32232b0d7481084087.png
The option with resizing and adding a sign before the output in result_modifier.php is not suitable.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danbka, 2018-09-03
@Danbka

Attach a handler to the OnIblockelementAdd and/or OnIblockElementUpdate events, in which to add a watermark to the loaded image, for example, using the ResizeImageFile() method.

A
Alexander, 2018-09-04
@idruweb

in general result_modifier.php is a more logical option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question