[Plugin: NextGEN Gallery] Fatal error when creating thumbnail
-
My memory limit on the server is 20 Mb, but when uploading a 3100 x 1744 (2.13 Mb) photo will give the following error when creating the thumbnail:
Fatal error: Out of memory (allocated 52953088) (tried to allocate 3100 bytes) in … /wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 183
The photo is actually uploaded and opens in the gallery; but no thumbnail. The error message also shows when clicking on “Edit thumb”.
Fatal error: Out of memory (allocated 53215232) (tried to allocate 4204 bytes) … gd.thumbnail.inc.php on line 927
I am using WordPress2.9-rare and NextGEN Gallery Version 1.4.0a, but the error happens in previous versions too. If the same photo is resized to lower pixels (3000 x 1688 pixel, 2.02 Mb), it works fine.
Server Settings
Operating System : Linux
Server : Apache
Memory usage : 25.86 MByte
MYSQL Version : 5.0.51a-log
SQL Mode : Not set
PHP Version : 5.2.4
PHP Safe Mode : Off
PHP Allow URL fopen : On
PHP Memory Limit : 200M
PHP Max Upload Size : 20M
PHP Max Post Size : 8M
PHP Max Script Execute Time : 300s
PHP Exif support : Yes ( V1.4 )
PHP IPTC support : Yes
PHP XML support : YesGraphic Library
GD Version : bundled (2.0.34 compatible)
FreeType Support : Yes
FreeType Linkage : with freetype
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPG Support : Yes
PNG Support : Yes
WBMP Support : Yes
XPM Support : No
XBM Support : Yes
JIS-mapped Japanese Font Support : No
- The topic ‘[Plugin: NextGEN Gallery] Fatal error when creating thumbnail’ is closed to new replies.