I'm having this problem also. I'm running netpbm-10.18.15 and GL-1.3.9sr1. I have made the appropriate alterations to config.php, checked the error log, I'm pretty sure everything is chmodded correctly. Everything works fine if I upload images that are within the size constraints.
Text Formatted Code
$_CONF['image_lib'] = 'netpbm';
$_CONF['path_to_netpbm'] = '/home/httpd/php/webapps/cmt/netpbm-10.18.15/';
$_CONF['debug_image_upload'] = true;
Text Formatted Code
Tue 19 Oct 2004 13:44:35 BST - Debug: File size for cr4[1].jpg is 42766 bytes
Tue 19 Oct 2004 13:44:35 BST - Debug: File, cr4[1].jpg is of mime type image/pjpeg and IS an image file.
Tue 19 Oct 2004 13:44:35 BST - Debug: in _getImageDimensions I got a width of 400, and a height of 533
Tue 19 Oct 2004 13:44:35 BST - Debug: Max allowed width = 150, Image width = 400
Tue 19 Oct 2004 13:44:35 BST - Debug: Max allowed height = 400, Image height = 533
Tue 19 Oct 2004 13:44:35 BST - Debug: File, cr4[1].jpg has a width of 400 and a height of 533
Tue 19 Oct 2004 13:44:35 BST - Debug: File, cr4[1].jpg is of mime type image/pjpeg and IS an image file.
Tue 19 Oct 2004 13:44:35 BST - Debug: in _getImageDimensions I got a width of 400, and a height of 533
Tue 19 Oct 2004 13:44:35 BST - Debug: Max allowed width = 150, Image width = 400
Tue 19 Oct 2004 13:44:35 BST - Debug: Max allowed height = 400, Image height = 533
Tue 19 Oct 2004 13:44:35 BST - Debug: File, cr4[1].jpg has a width of 400 and a height of 533
Tue 19 Oct 2004 13:44:35 BST - Debug: in _getImageDimensions I got a width of 400, and a height of 533
Tue 19 Oct 2004 13:44:35 BST - Debug: Going to resize image to 300x400 using netpbm
Tue 19 Oct 2004 13:44:35 BST - Debug: Attempting to resize with this command (netpbm): /home/httpd/php/webapps/cmt/netpbm/jpegtopnm '/home/httpd/php/webapps/cmt/public_html/images/articles/2004101913340542_1.jpg' | /home/httpd/php/webapps/cmt/netpbm/pnmscale -xsize=300 -ysize=400 | /home/httpd/php/webapps/cmt/netpbm/ppmtojpeg > /home/httpd/php/webapps/cmt/public_html/images/articles/tmp.jpg
Tue 19 Oct 2004 13:44:35 BST - Error: Image, cr4[1].jpg had trouble being resized: