| Posted by gbbulldog on 08/29/06 15:24 
Janwillem Borleffs wrote:> lawrence k wrote:
 > > Does anyone know how to protect against these errors?
 > >
 >
 > 1. Use smaller images
 > 2. Increase the value of the memory_limit directive in your php.ini file
 >
 >
 > JW
 
 Also, when you're resizing images it's the resolution of the image
 which effects the memory usage.
 I found it useful to figure out the largest amount of pixels the server
 can process in one go and check that an image doesn't exceed this limit
 before processing.
  Navigation: [Reply to this message] |