Answer the question
In order to leave comments, you need to log in
How to programmatically update pictures in product/category infoblocks?
Categories and products along with images have been imported into the store. Pictures were imported in full size and now they do not fit into the design (previews for categories, etc.). That is, they are, but in 90% of cases they are too large and do not fit into the design.
How to bulk update images for categories and products in accordance with design requirements?
Answer the question
In order to leave comments, you need to log in
You can adjust images to the required sizes directly in component templates using the ResizeImageGet method. A very convenient thing, which, among other things, allows you to optimize the page weight well.
https://dev.1c-bitrix.ru/api_help/main/reference/c...
1 - take all the elements
2 - update their pictures
3 - profit.
I can't even imagine at what stage difficulties may arise
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question