Resizer icon indicating copy to clipboard operation
Resizer copied to clipboard

memory_limit: -1 Breaks Resizer

Open chrisandy opened this issue 7 years ago • 2 comments

It seems that Resizer doesn't recognise memory_limit: -1. Throws the following error in Modx 2.6.5 and PHP7: Resizer debug output: [0] => Resizer v1.0.1 [1] => Using GD [2] => GD: assets/images/##/##/file-name.jpg may exceed available memory ** Skipping **

chrisandy avatar Sep 20 '18 13:09 chrisandy

Hi @chrisandy Did you find a solution to this? And if so would you post it here? Thx.

LucyI avatar Dec 26 '18 17:12 LucyI

I didn't find a fix as such but my work round was to set memory_limit = 256M in php.ini files in the site root and manager directories

chrisandy avatar Dec 27 '18 14:12 chrisandy