<?if($image_prw!=''):?> <img src="<?=$image_prw;?>" width="60" height="45" alt="img" /> <?endif?>
<?if($arResult["PREVIEW_PICTURE"]!='' && $arResult["DETAIL_PICTURE"]!=''):?> <? $grab = GetIBlockElement($arItem["ITEM_ID"]); $image_prw = CFile::GetPath($grab["PREVIEW_PICTURE"]); $image2 = CFile::GetPath($grab["DETAIL_PICTURE"]); ?> <img src="<?=$image_prw;?>" width="60" height="45" alt="img" /> <?endif?>