N
N
nikkon822019-08-22 21:13:11
opencart
nikkon82, 2019-08-22 21:13:11

How to solve the problem with the image cache in opencart?

Good day!
The problem in opencart 3 is that we load original images that are initially optimized and their size is on average 15-40kB.
In the image cache, as a result, we get 4-5 additional images of different sizes, but they are larger in volume and worse in quality.
How can I configure the image optimizer so that it does not reduce quality and increase volume?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2019-08-23
@zoozag

Images are cropped to the correct size: system/library/image.php - resize method
You can rewrite it to fit your needs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question