<img src="<?=$arItem['DETAIL_PICTURE']['SRC']?>" alt="<?=$arWork['DETAIL_PICTURE']['SRC']?>"/>
"FIELD_CODE" => array(
0 => "DETAIL_PICTURE",
1 => "Y",
),
<img src="<?=$arWork['DETAIL_PICTURE']['SRC']?>" alt="<?=$arWork['DETAIL_PICTURE']['SRC']?>"/>
<?$APPLICATION->IncludeComponent(
"bitrix:news.list",
"main-news",
array(
"FIELD_CODE" => array(
0 => "DETAIL_PICTURE",
1 => "",
),
"IBLOCK_ID" => "3",
"IBLOCK_TYPE" => "news",
..куча других параметров...
"SHOW_404" => "N",
"MESSAGE_404" => ""
),
false
);
?>
<img src="�" alt="�">
<img src="<?=$arWork['DETAIL_PICTURE']['SRC']?>" alt="<?=$arWork['DETAIL_PICTURE']['SRC']?>">
//выводит все
foreach ($arItem["DETAIL_PICTURE"] as $arWork){
print($arWork)."<br>";
if($arWork == [1]) {
echo "Во мне живёт ".$arWork." !<br>";
}
//три параметра
foreach ($arItem["DETAIL_PICTURE"] as $arWork){
print($arWork)."<br>";
if($arWork == [1][1][1]) {
echo "Во мне живёт ".$arWork." !<br>";
}
}
//три параметра
foreach ($arItem["DETAIL_PICTURE"] as $arWork){
print($arWork)."<br>";
if($arWork == [1][1]) {
echo "Во мне живёт ".$arWork." !<br>";
}
}
}
foreach ($arItem["DETAIL_PICTURE"] as $arWork){
if( $arWork == [1] ) {
echo "Во мне живёт ".$arWork." !<br>";
}
}
то он выводит нужный ID и нужный NAME_URL