S
S
Stalker_darkway2015-11-03 11:10:15
PHP
Stalker_darkway, 2015-11-03 11:10:15

Can the file size be changed?

Hello.
There is a site on Bitrix, more than 10,000 products with pictures have already been uploaded there. Pictures are horrible, there are JPG, JPEG, PNG. Of course, they also weigh differently, but in any case, the smallest is 250Kb. Is there any way to change these pictures, or do I have to delete these, edit and upload them back?
And is there any other way to limit the size of the uploaded image?
Thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Kopylov, 2015-11-03
@hronik87

Bitrix has its own class for working with files https://dev.1c-bitrix.ru/api_help/main/reference/c...
When outputting, the component template uses https://dev.1c- to reduce the image size bitrix.ru/api_help/main/reference/c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question