[PREVIEW_PICTURE_SRC] => /upload/iblock/0ff/jvdg3y94o8fhfgjmzxj0c3vodb7eosd8.png
$resize = CFile::ResizeImageGet(
$img['PREVIEW_PICTURE_SRC'],
Array('width'=>260,
'height'=>260),
BX_RESIZE_IMAGE_EXACT,
true
);
$arResult["ITEMS"][$key]['PREVIEW_PICTURE']['SRC'] = $resize['src'];
$resize = [];
$filePath = '/upload/iblock/0ff/jvdg3y94o8fhfgjmzxj0c3vodb7eosd8.png';
$arFilePath = explode('/', $filePath);
$fileName = $arFilePath[array_key_last($arFilePath)];
$iterator = \Bitrix\Main\FileTable::getList([
'select' => ['ID'],
'filter' => ['FILE_NAME' => $fileName],
]);
if($row = $iterator->fetch()) {
$resize = CFile::ResizeImageGet($row['ID'], ['width'=>260, 'height'=>260], BX_RESIZE_IMAGE_EXACT, true);
}
print_r($resize);