Answer the question
In order to leave comments, you need to log in
How, loading a photo from the media library into a multiple property, pull out the file name?
The bottom line is that I have a plural type property for photos. When I add an element, I load the addon there. photo from the media library. I thought that I could easily pull out the image title in the template, but it turned out not to be the case. There is nothing in the array with properties that would be associated with the media library. I need the title of the photos. How to do it? I can't believe that this can't be "turned"
Answer the question
In order to leave comments, you need to log in
As far as I understand you are getting an id.
Take a look at these libraries:
https://dev.1c-bitrix.ru/api_help/main/reference/cfile/
CMediaLib (not in the documentation), example: https://dev.1c-bitrix.ru/community/webdev/ user/178...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question