ryancramerdesign/ProcessWire — pull request #531 by horst-n (2014-06-21 15:26:35+00:00)
Title: memory checking to avoid running out of memory

with resizing images.

@Ryan: this is a draft, - there are two possibilities to use the function. I have made it static so that it is callable from anywhere (thirdparty modules).

I doesn't know where it would best to put the function for reading php.ini setting. - To get started I have put it into functions.php.