Advanced search  

News:

cpg1.5.28 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.26 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: jpeg error on certain picture  (Read 4045 times)

0 Members and 1 Guest are viewing this topic.

yoshikiwei

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 68
jpeg error on certain picture
« 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 ?

(http://img2.exs.cx/img2/7172/problem2.jpg)
this is the pic i used
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: jpeg error on certain picture
« Reply #1 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: jpeg error on certain picture
« Reply #2 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.
Logged
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

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 68
Re: jpeg error on certain picture
« Reply #3 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: jpeg error on certain picture
« Reply #4 on: July 22, 2004, 10:36:58 AM »

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

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.082 seconds with 19 queries.