coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: digit-all.ru on April 23, 2004, 11:41:22 PM

Title: error messages when trying to upload images
Post by: digit-all.ru on April 23, 2004, 11:41:22 PM
when I try to upload to a gallery, I get this error message:

The picture 'albums/userpics/10001/whatever.jpg' can't be inserted in the album

The image you have uploaded is corrupted or can't be handled by the GD library

Warning: imagecreatefromjpeg: 'albums/userpics/10001/whatever.jpg' is not a valid JPEG file in /home/digit-all/domains/photogallery/include/picmgmt.inc.php on line 176

GD support is "on"

GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

what could the mistake be?  ???
Title: Re: error messages when trying to upload images
Post by: Casper on April 24, 2004, 08:35:04 AM
Are you sure it's not corrupt.  Have you tried with other pics?
Are your jpg's saved in CMYK, not RGB.  For some reason CMYK often fail?
Are you sure they are jpg's, not gif's renamed?
What method of upload are you using?

Please provide link, and test account with upload permission.
Title: Re: error messages when trying to upload images
Post by: digit-all.ru on April 27, 2004, 07:06:18 AM
1.  yes. I've tried a few different pictures from different sources
2. Ususally, I tried pics in RGB. After your comment I tried to upload a CMYK picture. didn't work.
3. sure
4. batch and step-by-step
5. link: http://photogallery.digit-all.ru username: guest password: test

thank you.
Title: Re: error messages when trying to upload images
Post by: Casper on April 27, 2004, 04:25:42 PM
I tried to upload, but you have not given permission for any albums, and my group cannot have own album, so  cannot upload.
Please change the properties of at least 1 album, to allow visitors to upload, then I will try again.
Title: Re: error messages when trying to upload images
Post by: digit-all.ru on April 29, 2004, 03:37:59 AM
Oops. I've made the modifications. Please, try now.
Title: Re: error messages when trying to upload images
Post by: Casper on April 29, 2004, 12:04:36 PM
OK,

I tried to upload with a known good jpeg, and got the same error, 'not valid jpeg'.
I suggest you contact your host, as this seems to be a server problem.