$arImg = CFile::ResizeImageGet($arUser["PERSONAL_PHOTO"], array('width'=>125, 'height'=>125), BX_RESIZE_IMAGE_PROPORTIONAL, true);
$fileInfo = CFile::GetFileArray($arrSction["PICTURE"]); $arImg = CFile::ResizeImageGet($fileInfo , array('width'=>300, 'height'=>180), BX_RESIZE_IMAGE_PROPORTIONAL, true); if($arImg['src']){ $fileInfo['SRC'] = $arImg['src']; $fileInfo['HEIGHT'] = $arImg['height']; $fileInfo['WIDTH'] = $arImg['width']; $arrSction['PICTURE'] = $fileInfo; }else{ $arrSction['PICTURE'] = $fileInfo; }