Re: imagecreatefromjpeg() uses too much memory
| From: | Richard Davey | Date: | Tue, 28 Mar 2006 13:56:44 +0000 |
| Subject: | Re: imagecreatefromjpeg() uses too much memory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232729@lists.php.net to get a copy of this message | ||
On 28 Mar 2006, at 14:21, Fredrik Enestad wrote:
I'm making a function for uploading and resizing images to my web hotel. Problem is, memory_limit is set to 16M so when uploading larger images the script crashes. So, I tried to override the memory_limit setting, but as it turns out, my web host has set some safe mode setting, so that no settings can be changed in the php.ini, and they wont change the setting to a higher value themselves. Do any of you know any other way to solve this problem?What size images are you uploading? (as in what dimensions, and file size) Do you have access to something like ImageMagik on the server? Cheers, Rich -- http://www.corephp.co.uk Zend Certified Engineer PHP Development Services