question about GD thumbnails

I am having trouble understanding why i am getting the following error message when debugging image thumbnail creation on some of my larger images (upgraded cameras recently and images are larger - but i want to upload them this way for archiving purposes).

The error message i get is:
Album: [ 2008-photos/2008-12-Garrett ], Image: [ IMG_8164.JPG ]

Image filesize: 1451317

Debug i.php | Arguments:

* size =
* width = 387
* height = 580
* cw =
* ch =
* cx =
* cy =
* quality = 100
* thumb =
* crop =

Fatal error: Out of memory (allocated 45350912) (tried to allocate 10368 bytes) in /home/bmcneill/public_html/photos/zp-core/lib-GD.php on line 30

however, when i entered ticket with my host, they troubleshooted and found that when the .htaccess file was changed to php4 (AddHandler application/x-httpd-php4 .php), thumbnails work perfectly.

i am using a fresh install of zenphoto (version 1.2.5 [4022]). does anyone have any idea why this would be happening? my host has advised that this solution should be temporary b/c php4 will be taken off servers in the future.

i am using hostgator shared hosting.

Comments

  • Out of memory errors occur because your image is too large to be processed in the memory your server has allocated PHP and Zenphoto. Your situation may be on the edge so that memory footprint differences between PHP4 and PHP5 could make it fail on PHP5.

    See also the troubleshooting guide on images/thumbnails not showing.
Sign In or Register to comment.