Outputs the custom field data type file in Bitrix. How?

All good.

I understand that this request has been, but it has not been solved.

The task is to make a template displaying different blocks. Brought title, description using custom properties without any problem.
5bbde3cceccc6670973685.png

The problem arose when you display the custom properties of the File, as a picture uploaded and how to overcome it – do not know, because in the mountains comes the path to the picture (meaning only comes some number):
5bbde3dd741d1456024295.png
A lot of different options tried many searches have watched.

Question: how to display image using custom field?
March 12th 20 at 08:07
1 answer
March 12th 20 at 08:09
Solution
To get the array value is the id of the desired image, it displays the path to the image via:
<?=CFile::GetPath(ID_ФАЙЛА);?>
Thanks Andrew, great help. - thurman.Haag commented on March 12th 20 at 08:12
But if multiple properties? - kailyn92 commented on March 12th 20 at 08:15
@kailyn92, If multiple, the value is an array of yashnikov. You go over that array using foreach and at each step call CFile::GetPath for the current step of aydishnik. - dianna_McCulloug commented on March 12th 20 at 08:18

Find more questions by tags 1C-Bitrix