forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: yoshikiwei on July 22, 2004, 06:04:02 am

Title: jpeg error on certain picture
Post by: yoshikiwei on July 22, 2004, 06:04:02 am
Warning: imagecreatefromjpeg(): './albums/edit/mHTTP_temp_839f2ec5.jpg' is not a valid JPEG file in /var/www/html/include/picmgmt.inc.php on line 202
 
this is the warning i received when uploading a particular picture
the picture could not be uploaded

upload pic -> browse -> selected pic -> click continue ->[successful uploads] -> click continue -> (warning appear, thunbnail showed a red 'X' -> click continue ->[The previous file could not be placed.][You have successfully placed all the files.]

2 messages were given on the same page, The previous file could not be placed. You have successfully placed all the files.
and in the end the file was not uploaded at all

anyone had this problem before ?

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg2.exs.cx%2Fimg2%2F7172%2Fproblem2.jpg&hash=c03fe40a8071489f0b33b0e9d4e585b8986b2173)
this is the pic i used
Title: Re: jpeg error on certain picture
Post by: Joachim Müller on July 22, 2004, 09:45:53 am
the pic you posted is either corrupt or it's not in rgb (cmyk instead?). I wasn't able to upload it as well. Use your favourite graphics suite on your pc to save it in another format, then it should work.

GauGau
Title: Re: jpeg error on certain picture
Post by: Casper on July 22, 2004, 10:26:21 am
The pic is somehow corrupted.  I could not upload it in it's present form.

But by opening it in photoshop, and saving it, with no other changes, it is then ok.
Title: Re: jpeg error on certain picture
Post by: yoshikiwei on July 22, 2004, 10:34:48 am
I tried opening and saving in photoshop as well
no problem with that

this pic was taken with a camera mobile phone
and all pics taken by that camera phone were unable to upload to coppermine
wonder why this is so...

anyway, this shouldn't be a big issue to most of us
Title: Re: jpeg error on certain picture
Post by: Joachim Müller on July 22, 2004, 10:36:58 am
boy, you must be wealthy, owning a copy of photoshop. ;)

GauGau