• Resolved darrinstern

    (@darrinstern)


    Hey everyone, have any of you see the following error when loading images into the library?

    Does anyone have a suggestions to fix the issue?

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Passed data is not in ‘JPEG’ format in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Couldn’t create GD Image Stream out of Data in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Passed data is not in ‘JPEG’ format in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Couldn’t create GD Image Stream out of Data in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Passed data is not in ‘JPEG’ format in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: Couldn’t create GD Image Stream out of Data in /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php on line 147

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/9/d152541188/htdocs/climatini/wp-admin/includes/image.php:147) in /homepages/9/d152541188/htdocs/climatini/wp-includes/pluggable.php on line 865

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi

    (@esmi)

    It looks like some of the images that you’re trying to upload aren’t actually in .jpg format.

    Thread Starter darrinstern

    (@darrinstern)

    Are you sure? I have check and re-saved the image file. Any other suggestions? This issue only start once updated to the newest version of WordPress.

    esmi

    (@esmi)

    The phrase Passed data is not in 'JPEG' format in your error messages seems to indicate that it’s a file format problem.

    Thread Starter darrinstern

    (@darrinstern)

    Thanks, I test a gif and there were no issues.

    I get this error set intermittently, too.

    Problem is a) the file IS a JPG (but not a JEPG, specifically, since it’s built on a Windows box) and b) even the same image doesn’t cause the problem all the time.

    If GIF’s don’t cause issues, perhaps PNG’s won’t either, but it’d still be cool to know what it is exactly about some JPG’s that the code doesn’t like, yeah?

    I’m afraid this issue has reared its head again post-3.0.

    I see these errors too, running the latest WordPress 3.0 installation. I managed to upload a good dozen or so images before this problem crept in, and now it’s quite prevalent. My files are JPGs, just like all the other images I uploaded without issue. I’ve tried renaming the files, tweaking “.jpg” to “jpeg”, and checking that the colours were RGB, not CMYK. Short of having to change all my file types to .PNG, I can’t seem to find a way around this.

    I had the same problem then resaved my photo at 72dpi rather than 150. Solved it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error loading photos’ is closed to new replies.