Plogger Support Forum - Issue when importing photos from upload folder in 1.0-RC1 Thu, 28 Mar 2024 20:49:17 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 Issue when importing photos from upload folder in 1.0-RC1 http://www.plogger.org/forum/comments.php?DiscussionID=3875&Focus=14345#Comment_14345 http://www.plogger.org/forum/comments.php?DiscussionID=3875&Focus=14345#Comment_14345 Tue, 20 Nov 2012 13:24:41 +0000 Faken
I have been using Plogger for years and still love it to this day, but I am running in to a new issue with larger photos when I try to import them from the uploads folder. I have uploaded 6 images, each are around 2.6MB and are 3648 x 2736, which is the native resolution of the camera I used for these pics. Now this is not a new install and have already added many photos with no issues. But with these large photos, I get the following error:

<code>Failed: phpThumb() v1.7.9-200712090829 in file "phpthumb.class.php" on line 216 setSourceFilename(/home/danrich/public_html/gallery/plog-content/uploads/IMG_0272.JPG) set $this->sourceFilename to "/home/danrich/public_html/gallery/plog-content/uploads/IMG_0272.JPG" in file "phpthumb.class.php" on line 243 file_exists() = 0 in file "phpthumb.class.php" on line 1101 is_executable() = 0 in file "phpthumb.class.php" on line 1102 ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned () in file "phpthumb.class.php" on line 1131 $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 884 $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 895 $this->thumbnailQuality set to "95" in file "phpthumb.class.php" on line 912 $this->sourceFilename set to "/home/danrich/public_html/gallery/plog-content/uploads/IMG_0272.JPG" in file "phpthumb.class.php" on line 813 setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 919 $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 955 SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 3037 starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2894 SetOrientationDependantWidthHeight() starting with "3648"x"2736" in file "phpthumb.class.php" on line 2873 SetOrientationDependantWidthHeight() setting w="150", h="150" in file "phpthumb.class.php" on line 2889 EXIF thumbnail extraction: (size=6616; type="2"; 160x120) in file "phpthumb.class.php" on line 2976 image is 3648x2736 and therefore contains more pixels (9980928) than $this->config_max_source_pixels setting (6291456) in file "phpthumb.class.php" on line 3018 $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 1865 starting SourceImageToGD() in file "phpthumb.class.php" on line 3234 $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 1865 Not using EXIF thumbnail data because $this->config_use_exif_thumbnail_for_speed is FALSE in file "phpthumb.class.php" on line 3295 $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3335 ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3337 phpThumb() v1.7.9-200712090829 All attempts to create GD image source failed. ImageMagick is not installed (it is highly recommended that you install it). Source image is too large (3648x2736 = 10.0Mpx, max=6.3Mpx) for GD creation (either install ImageMagick or increase PHP memory_limit to at least 51M). in file "phpthumb.class.php" on line 3652 phpThumb() v1.7.9-200712090829 Image is too large for PHP-GD memory_limit, please install ImageMagick or increase php.ini memory_limit setting in file "phpthumb.class.php" on line 3652 SourceImageToGD() failed in file "phpthumb.class.php" on line 323</code>

If I remove all the images and only keep one, I get the same error. If I remove ALL the photos and upload a smaller image file say 200k, it works no problem. In the error message, it tells me to increase the memory_limit setting in phpthumb.class.php to at least 51 on line 3652 but when I load the file and look, line 3652 has this:

<code>$this->DebugMessage($text, __FILE__, __LINE__);</code>

And I don't really see anything around that line with that field... I search the file for "memory_limit" and it finds it about 20 times, but I am not sure which one I need to modify. Can anyone help me with this?

Thanks!
Dan]]>