M
M
maxeee522019-01-18 16:45:29
opencart
maxeee52, 2019-01-18 16:45:29

Why doesn't Opencart handle high resolution images?

I get the error Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16728 bytes)
when processing an image with a resolution of ~4000x3000px, while the image weighs 400 kb. (lots of white background).
When the resolution is reduced, everything works out.
Is it possible to do without increasing php_memory_limit?
Opencart 3020 System, Standard Image Loader

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mefutu, 2019-01-18
@maxeee52

Google in help : https://forum.opencart.com/viewtopic.php?t=13012

A
Andrey Shatokhin, 2019-01-18
@Sovigod

without increasing php_memory_limit - you can use shell_exec. Use convert from ImageMagick

P
Puma Thailand, 2019-01-18
@opium

Without increasing, only rewrite the code, but increasing it is many times cheaper

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question