S
S
strify_252016-10-24 11:33:12
1C-Bitrix
strify_25, 2016-10-24 11:33:12

How to upload a photo for an infoblock element to one folder?

Catalog items have an add property. photo to upload additional photos. They are uploaded to the upload/... folder and each photo to a separate folder. Is it possible to make the photos upload all in one folder with the name of the product? For example, the folder upload/product1/ , upload/product2 , etc. The option to change the directory in the admin panel is not suitable - for all other infoblocks and files, everything should remain as it is

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2016-10-24
@strify_25

out of the box it is impossible, but it can be programmed, on the event of adding / changing an element.
Or store photos in the media library.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question