Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2012-08-23 00:16:24
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: esq_autoimageresize - Automatically resize uploaded images
Ah! Good job. Here’s the commit to adjust the memory, which is over 5 years old!
I guess I didn’t notice this error because it only tries to adjust the memory if the image is over 1024px wide or high, which I haven’t really come across.
The problem with it is that it doesn’t check if you’d already changed the memory to a higher value first, and just overrides it to 32MB regardless. This was fixed in commit 3607 which should be out in the next TXP release (4.4.2).
This really is a good discovery, I think quite a few people would have stumbled on this issue, and been quite confused as to why the script wasn’t getting more memory when they’d set it in php.ini or .htaccess.
Last edited by radneck (2015-11-04 07:39:18)
Offline