Источник: http://dev.1c-bitrix.ru/community/webdev/user/55997/blog/resize-images-with-overlaid-watermark/ |
ResizeImageGet($file, $arSize, $resizeType = BX_RESIZE_IMAGE_PROPORTIONAL, $bInitSizes = false, $arFilters = false) |
$arFilters = Array( array("name" => "watermark", "position" => "center", "size"=>"real", "file"=>$_SERVER['DOCUMENT_ROOT']."/img/logo.png") ); |