R
R
Roman Lee2020-02-29 09:29:32
1C-Bitrix
Roman Lee, 2020-02-29 09:29:32

Where is it better to store images for static pages in bitrix?

Tell me, where is it better to store images, photos for static pages? In the media library, or create a folder called "img" in the desired section, and drop images for the desired section there?

An example using the img folder
/science/img/pic1.jpg
/science/img/pic2.jpg
/science/img/collective.jpg
/science/patents/img/mts.jpg
/science/patents/img/beeline.jpg
/ science/patents/img/banner_purina.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-02-29
Madzhugin @Suntechnic

or in /local/img/PathToSection/pic.jpg
All options are working. Everyone has pros and cons, and almost all of these pros and cons can be ignored unless you're using a version control system like git.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question