Bitrix.As to the picture not the link?

There is a custom file property for InfoBlock,I need to get a few pictures.This code:
<?foreach($arItem["DISPLAY_PROPERTIES"] as $pid=-->$arProperty):?>
the <small>
 <?=$arProperty["NAME"]?>: 
<?if(is_array($arProperty["a display_value"])):?>
 <?=implode("&nbsp;/&nbsp;", $arProperty["a display_value"]);?>
<?else:?>
<?=$arProperty["a display_value"];?>
<?endif?>
</small><br>
 <?endforeach;?>


only displays links to pictures,how to make it output my images?
6aad5e0cea9a488fb3c3cadaf5ffd06a.PNG
July 2nd 19 at 13:13
1 answer
July 2nd 19 at 13:15
Solution
<?foreach($arItem["DISPLAY_PROPERTIES"] as $pid=-->$arProperty):?>
the <small>
 <?=$arProperty["NAME"]?>: 
 <?if($arProperty["CODE"] == "SLIDE_IMAGE") {?>
 <?foreach($arProperty["VALUE"] as $image) {?>
 <img src="<?=CFile::GetPath($image)?>">
<?}?>
 <?} else {?>
<?if(is_array($arProperty["a display_value"])):?>
 <?=implode("&nbsp;/&nbsp;", $arProperty["a display_value"]);?>
<?else:?>
<?=$arProperty["a display_value"];?>
<?endif?>
<?}?>
</small><br>
<?endforeach;?>
Thank you,really appreciate it! - kristian.Schul commented on July 2nd 19 at 13:18

Find more questions by tags 1C-Bitrix