S
S
Stalker_darkway2015-11-24 06:39:39
PHP
Stalker_darkway, 2015-11-24 06:39:39

Is there a module to reduce the size of images on bitrix?

Hello.
There is an online store.
From start to finish it was made by "professionals", including filling.
Product images there range from 250Kb to 3.5Mb. There are a lot of goods, no one wants to change anything with pens. There is also a programmer.
Tell me if there is any working and reliable resizer that you yourself used to reduce the weight of the pictures. It is possible on the fly...
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Mokhov, 2015-11-24
@hronik87

$renderImage = CFile::ResizeImageGet(
    $arResult['PREVIEW_PICTURE'],
    array("width" => 60, "height" => 60)
);

M
MoonDevilzzz, 2017-10-22
@MoonDevilzzz

Yes, there is OptiImg called - you can download it in the Bitrix market.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question