$rsFile = CFile::GetByID($arItem["PREVIEW_PICTURE"]);
$arFile=$rsFile->GetNext();
$src = CFile::GetPath($arItem["PREVIEW_PICTURE"]);
<img src="<?=$src;?>" width="<?=$arFile["WIDTH"];?>" height="<?=$arFile["HEIGHT"];?>">
Теги: GetPathТеги: GetPath
21.01.2020