Делаю как обычно, но почему вообще не хочет выводиться картинка свойства TOP_IMAGES
<? foreach ($arResult['ITEMS'] as $value): ?>
<li>
<div class="main_carousel_one <?if(!empty($value['ITEM']['TOP_IMAGES'])) echo 'main_carousel_one__gradient';?>">
<?if(!empty($value['ITEM']['TOP_IMAGES'])){?>
<? $picArray = CFile::GetFileArray($value['ITEM']['TOP_IMAGES']); ?>
<? $pach = CFile::ResizeImageGet($value['ITEM']['TOP_IMAGES'], array('width'=>1240, 'height'=>3000), BX_RESIZE_IMAGE_PROPORTIONAL_ALT, true); ?>
<img class="main_carousel_img" src="<?= $pach['ITEM']['TOP_IMAGES'] ?>">
<?}else{?>
<img class="main_carousel_img d" src="<?= $value['ITEM']['TOP_IMAGES'] ?>">
<?}?>
<div class="main_carousel_text <?if(!empty($value['ITEM']['DETAIL_PICTURE'])) echo 'main_carousel_text__bottom'; else echo 'main_carousel_text__center';?>">
<a href="<?=$value['DETAIL_PAGE_URL']?>"><?= $value['NAME'] ?></a>
<? if(!empty($value['ITEM']['~DETAIL_TEXT'])): ?>
<span><?= $value['ITEM']['~DETAIL_TEXT'] ?></span>
<? endif; ?>
</div>
</div>
</li>
<? endforeach; ?>
<? var_dump($value); ?> выдает
spoiler"
["TYPE"]=>
string(4) "TEXT"
}
["~DESCRIPTION"]=>
string(0) ""
}
}
["DISPLAY_PROPERTIES"]=>
array(1) {
["TOP_IMAGES"]=>
array(36) {
["ID"]=>
string(2) "25"
["IBLOCK_ID"]=>
string(1) "5"
["NAME"]=>
string(35) "Главная фотография"
["ACTIVE"]=>
string(1) "Y"
["SORT"]=>
string(3) "500"
["CODE"]=>
string(10) "TOP_IMAGES"
["DEFAULT_VALUE"]=>
string(0) ""
["PROPERTY_TYPE"]=>
string(1) "F"
["ROW_COUNT"]=>
string(1) "1"
["COL_COUNT"]=>
string(2) "30"
["LIST_TYPE"]=>
string(1) "L"
["MULTIPLE"]=>
string(1) "N"
["XML_ID"]=>
NULL
["FILE_TYPE"]=>
string(0) ""
["MULTIPLE_CNT"]=>
string(1) "5"
["LINK_IBLOCK_ID"]=>
string(1) "0"
["WITH_DESCRIPTION"]=>
string(1) "N"
["SEARCHABLE"]=>
string(1) "N"
["FILTRABLE"]=>
string(1) "N"
["IS_REQUIRED"]=>
string(1) "N"
["VERSION"]=>
string(1) "2"
["USER_TYPE"]=>
NULL
["USER_TYPE_SETTINGS"]=>
bool(false)
["HINT"]=>
string(0) ""
["~NAME"]=>
string(35) "Главная фотография"
["~DEFAULT_VALUE"]=>
string(0) ""
["VALUE_ENUM"]=>
string(0) ""
["VALUE_XML_ID"]=>
NULL
["VALUE_SORT"]=>
NULL
["VALUE"]=>
string(4) "8469"
["PROPERTY_VALUE_ID"]=>
string(5) "36:25"
["DESCRIPTION"]=>
NULL
["~VALUE"]=>
string(4) "8469"
["~DESCRIPTION"]=>
NULL
["DISPLAY_VALUE"]=>
string(62) "
так же при var_dump выдает
<a href="/upload/iblock/7b6/20900m.jpg">Загрузить</a>
типо вот файл
и еще вот
spoiler"
["FILE_VALUE"]=>
array(15) {
["ID"]=>
string(4) "8469"
["TIMESTAMP_X"]=>
object(Bitrix\Main\Type\DateTime)#238 (2) {
["userTimeEnabled":protected]=>
bool(true)
["value":protected]=>
object(DateTime)#240 (3) {
["date"]=>
string(26) "2017-01-16 11:02:50.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(13) "Europe/Moscow"
}
}
["MODULE_ID"]=>
string(6) "iblock"
["HEIGHT"]=>
string(3) "826"
["WIDTH"]=>
string(4) "1240"
["FILE_SIZE"]=>
string(6) "309989"
["CONTENT_TYPE"]=>
string(10) "image/jpeg"
["SUBDIR"]=>
string(10) "iblock/7b6"
["FILE_NAME"]=>
string(10) "20900m.jpg"
["ORIGINAL_NAME"]=>
string(10) "20900M.jpg"
["DESCRIPTION"]=>
string(0) ""
["HANDLER_ID"]=>
NULL
["EXTERNAL_ID"]=>
string(32) "b7c697b6557106d9a7db6f79c7707bd4"
["~src"]=>
bool(false)
["SRC"]=>
string(29) "/upload/iblock/7b6/20900m.jpg"
}
}
}
["IPROPERTY_VALUES"]=>
array(0) {
}
}