getUserPhotoSrc: Bitrix method

      
<?php 
//  getUserPhotoSrc()
//  /dist/bitrix/modules/bizproc/classes/general/viewhelper.php:126

    
public static function getUserPhotoSrc(array $user)
    {
        if (empty(
$user['PERSONAL_PHOTO']))
            return 
'';
        
$arFileTmp = \CFile::ResizeImageGet(
            
$user["PERSONAL_PHOTO"],
            array(
'width' => 58'height' => 58),
            \
BX_RESIZE_IMAGE_EXACT,
            
false
        
);
        return 
$arFileTmp['src'];
    }