Answer the question
In order to leave comments, you need to log in
Displaying a picture of a custom field of the file data type in Bitrix. How?
All good.
I understand that this request has already been, but it has not been resolved.
The task is to make a template with the output of different blocks. Displayed the title, description through custom properties without problems.
The problem arose when displaying the custom property File, since I uploaded the image, but I don’t know how to display it, because the path to the image does not come in the array (only a number comes in the value):
I tried many different options, many queries in the search looked through.
Question: how to display an image through a custom field?
Answer the question
In order to leave comments, you need to log in
In the array you get value - this is the id of the desired image, the path to the image is displayed through: =CFile::GetPath(ID_ФАЙЛА);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question