Invalid image dimension error on flash uploader
-
When uploading a new image using the flash loader, I get the following messages:
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/content/09/11100909/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_thumbnail.php on line 567
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/content/09/11100909/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_thumbnail.php on line 1026
Warning: Division by zero in /home/content/09/11100909/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_thumbnail.php on line 297
Warning: Division by zero in /home/content/09/11100909/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_thumbnail.php on line 314
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/content/09/11100909/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_thumbnail.php on line 448
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/content/09/11100909/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_thumbnail.php on line 1026
Warning: getimagesize(/home/content/09/11100909/html/wp-content/gallery/wildlife/thumbs/thumbs_coyote-5e032ec8d4655b9bd17c3b0a2fa9b2f2f48115be.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/content/09/11100909/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_gallerystorage_driver.php on line 419
The result is the file gets uploaded but there is no thumbnail when you look at the gallery, so all you can do is delete the image again. Note that I can upload the same file through Gallery, Add Gallery/Images.
I am running NextGen Gallery 2.0.21 PHP 5.3 and MySQL 5.0. mod_rewrite Apache module is active but have been unable to check yet the status of PHP Safe Mode. The permissions on wp-content is 755. It’s hard to determine if this ever worked as users only started uploading recently at the current levels of WordPress and NextGen.
- The topic ‘Invalid image dimension error on flash uploader’ is closed to new replies.