jpeg error on certain picture jpeg error on certain picture
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

jpeg error on certain picture

Started by yoshikiwei, July 22, 2004, 06:04:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yoshikiwei

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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg2.exs.cx%2Fimg2%2F7172%2Fproblem2.jpg&hash=c03fe40a8071489f0b33b0e9d4e585b8986b2173)
this is the pic i used

Joachim Müller

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

yoshikiwei

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

Joachim Müller

boy, you must be wealthy, owning a copy of photoshop. ;)

GauGau