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.

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):
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
To get the array value is the id of the desired image, it displays the path to the image via:
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