Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory_limit: -1 Breaks Resizer #22

Open
chrisandy opened this issue Sep 20, 2018 · 2 comments
Open

memory_limit: -1 Breaks Resizer #22

chrisandy opened this issue Sep 20, 2018 · 2 comments
Labels

Comments

@chrisandy
Copy link

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 **

@LucyI
Copy link

LucyI commented Dec 26, 2018

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

@chrisandy
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants