I have a photo that results in this:
* warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 40 extraneous bytes before marker 0xd9 in /Users/joachim/Sites/image-lab/includes/image.gd.inc on line 190.
* warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'sites/localhost.image-lab.alpha/files/images/temp/Camera Download 494.jpg' is not a valid JPEG file in /Users/joachim/Sites/image-lab/includes/image.gd.inc on line 190.
* Unable to create scaled Thumbnail image.
* The selected file /Users/joachim/Sites/image-lab could not be copied.
I nonetheless get an image node; which has no image.
Comments
Comment #1
joachim commentedThis is happening in the chain of calls starting from _image_build_derivatives().
I'm not sure what we can do to fix this; as by the time we try to create derivatives the node is already created.
The JPEGs all look fine in Firefox / OS X Preview / etc.