As for 1C Bitrix add product images?

Good day!

The documentation says how to load the goods on the website https://dev.1c-bitrix.ru/api_help/main/reference/c... . But it is unclear how to add the picture of the product. Can anyone tell me examples of it with the goods. The source I have only the link to the picture
June 10th 19 at 15:11
1 answer
June 10th 19 at 15:13
Solution
In Bitrix not a picture is added to the product, and the product property changes.
I.e. that the product was picture - you need to change the properties of the product (a picture Bitrix itself loads where necessary).

You're adding via CIblockElement::Add doing?
There is an example:
"DETAIL_PICTURE" => CFile::MakeFileArray($_SERVER["DOCUMENT_ROOT"]."/image.gif")
Was having the same issue yesterday for the first time opened the control panel as administrator, the goal is to associate the product to the pics. The mechanism is not understood.

Add a new item, there are fields announcement and detailed photos that I will point out there anywhere will not be visible. If you easy, could you describe the complete course of action?

Last person was probably loaded in some way, the version of Bitrix 1C-Bitrix: website Management 11.5.3. - nikita.Stracke commented on June 10th 19 at 15:16
,
Add a new item, there are fields announcement and detailed photos that I will point out there anywhere will not be visible.


It all depends exactly how to construct Your website. Alas, I can't advise specifically in Your case, because firstly, every website is unique and every web developer uses the system as it sees fit, and secondly, to work with Bitrix I started with version 12 (the new design of the admin panel), so it's unlikely I'll be able to advise You - we even have a different interface. - Roel.OConnell30 commented on June 10th 19 at 15:19

Find more questions by tags 1C-Bitrix