Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthortripkebab
    • CommentTimeDec 13th 2007
     
    Happens to about 1 in 100 images, always happens with the same image, error code is displayed in the thumbnail preview in the import section also, if the errored pic is ticked for import it screws that whole album, only way to fix is to telnet in (image gets locked in ftp) and delete the image then and only then is it possible to nav into manage albums and delete the image in question. If the image is still there the whole admin interface hangs.

    My question is, is it a bug in the gallery or a problem with the pictures themselves or a combination of both? ie slight problem with images that the gallery dosent know how to deal with ie ala screw up?

    Code is below..

    Failed: setSourceFilename(/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG) set $this->sourceFilename to "/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG" in file "phpthumb.class.php" on line 216 $AvailableImageOutputFormats = array(text;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 636 $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 646 $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 663 $this->sourceFilename set to "/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG" in file "phpthumb.class.php" on line 587 $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 704 SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 1986 using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 825 source dimensions set to 100x100 in file "phpthumb.class.php" on line 875 source dimensions reset to 100x100 in file "phpthumb.class.php" on line 880 source dimensions reset by "zc" to 133x133 in file "phpthumb.class.php" on line 886 ImageMagick called as (convert -coalesce -geometry 133x133 "/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG" png:/tmp/pThumbK5mkuH 2>&1) in file "phpthumb.class.php" on line 899 ImageMagick failed with message (convert: Image sequence is required (UnableToCoalesceImage). convert: buffer error (/tmp/pThumbK5mkuH). convert: Corrupt JPEG data: premature end of data segment (/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG). ) in file "phpthumb.class.php" on line 904 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 923 ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 1876 EXIF thumbnail extraction: (size=8098; type=2; 160x120) in file "phpthumb.class.php" on line 1925 starting SourceImageToGD() in file "phpthumb.class.php" on line 2073 Not using EXIF thumbnail data because $this->config_use_exif_thumbnail_for_speed is FALSE in file "phpthumb.class.php" on line 2076 Calling ImageCreateFromJPEG(/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG) in file "phpthumb.class.php" on line 2138 ImageCreateFromJPEG() was attempted but FAILED in file "phpthumb.class.php" on line 2179 Populating $this->rawImageData and attempting ImageCreateFromStringReplacement() in file "phpthumb.class.php" on line 2182 $this->gdimg_source is still empty in file "phpthumb.class.php" on line 2205 source dimensions set to 100x100 in file "phpthumb.class.php" on line 875 source dimensions reset to 100x100 in file "phpthumb.class.php" on line 880 source dimensions reset by "zc" to 133x133 in file "phpthumb.class.php" on line 886 ImageMagick called as (convert -coalesce -geometry 133x133 "/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG" png:/tmp/pThumb0q0tLI 2>&1) in file "phpthumb.class.php" on line 899 ImageMagick failed with message (convert: Image sequence is required (UnableToCoalesceImage). convert: buffer error (/tmp/pThumb0q0tLI). convert: Corrupt JPEG data: premature end of data segment (/home/drink/public_html/gallery/uploads/Turkey - Summer 2006/Summer 20062/CIMG5815.JPG). ) in file "phpthumb.class.php" on line 904 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 923 ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2214 phpThumb() v1.6.2-200511240855 All attempts to create GD image source failed (source image probably corrupt), cannot generate thumbnail phpThumb() v1.6.2-200511240855 Unknown image type identified by "????" ( 0xff 0xd8 0xff 0xe1) in SourceImageToGD()
    •  
      CommentAuthorkimparsell
    • CommentTimeDec 14th 2007
     
    It's not a problem with Plogger, it's a problem with that particular image. The very last line of the error message says it all:

    All attempts to create GD image source failed (source image probably corrupt), cannot generate thumbnail phpThumb() v1.6.2-200511240855 Unknown image type identified by "????" ( 0xff 0xd8 0xff 0xe1) in SourceImageToGD()

    You need to open the original file of image in your photo editor, do whatever manipulation is necessary (color, resize, etc.), then make sure you do 'Save as' and make sure the file type is specified as .jpg.

    Then try reuploading that image by itself and importing to see if reworking it resolved the issue.