News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Error while uploading JPEG (256 Kb)

Started by Alajo, October 20, 2003, 12:11:14 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Alajo

This is the message error thàt appears while trying to upload an image:

The picture 'modules/coppermine/albums/userpics/IMG_2577.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: No JPEG support in this PHP build in /home/www/inter.net/usuarios/escola/public_html/Antar/modules/coppermine/include/picmgmt.inc.php on line 181

DJMaze

Are you using GD1, GD2 or ImageMagic ?
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gtroll

First look at the picture on your computer and make sure it's not corrupted (you can open it and see the whole thing) Then try uploading it again. Have you had problem with other picture uploads?

Alajo

I'm sure the image is not corrupted , I tried with other diferent weight images also, and I couldn't upload them.

DJMaze

is the php_gd2.dll module active in php.ini and in the proper directory ?

Line 547 original php.ini:
extension=extensions\php_gd2.dll Notice that ";" is gone.

Because error occures on bad files (saved BMP with JPG extension) or GD not active.

When using Windows OS you need PHP 4.3.x to let it work properly.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Alajo

Thank you DJMaze for replying my querys and excuse me for being so short to not understand what you mean with your last suggestion, you mean the ini.php of my server? how can I see it and change it?

Meveric

Hello

I've got the same Problems I think:

Warning: imagecreatefromjpeg: 'modules/coppermine/albums/userpics/10002/dsc01743.jpg' is not a valid JPEG file in /kunden/nopclan.de/webseiten/maulaff/modules/coppermine/include/picmgmtbatch.inc.php on line 173
Das Bild, das Du hochgeladen hast ist beschädigt oder kann nicht von der GD-Bibliothek verarbeitet werden

My Picture is OK. I tried differents but there was alwas the same Problems.
I also tried to load some pictures with FTP but it was stil the same.

Who can help??

DJMaze

where can i download the pictures to check them ?
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Meveric

I've got the pictures at a homepage

http://www.grillparty2003.nopclan.de/

right click  -> save

that should be possible

Alajo

Hello, is there anybody who can help me? I have nuke 6.9 and coppermine 1d, and i can't upload any image. Thank you

DJMaze

Meveric i downloaded "tn_dsc01742_jpg.jpg" put it in my gallery without a problem.

Maybe your GD version has a bug or uses different commands.
Please check which GD version is installed on the server.
If you don't know please wait for CPG for phpNuke 1.2 it has the Advanced debug mode which shows your GD info.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

DJMaze

Meveric i downloaded "tn_dsc01742_jpg.jpg" put it in my gallery without a problem.

Maybe your GD version has a bug or uses different commands.
Please check which GD version is installed on the server.
If you don't know please wait for CPG for phpNuke 1.2 it has the Advanced debug mode which shows your GD info.


Alajo Which error do you get ?
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Alajo

Hello                   , thank you for asking me, the error I get is:

This is the message error thàt appears while trying to upload an image:

The picture 'modules/coppermine/albums/userpics/IMG_2577.JPG' can't be inserted in the album

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


What can I do?

Meveric

OK I'll wait for the new Version, because I don't know my version of GD.
I only have FTP and MySql accounts on my server.

Thx

Alajo

This is the error I get while trying to upload jpeg images:

Warning: ImageCreateFromJpeg: No JPEG support in this PHP build in /home/www/inter.net/usuarios/escola/public_html/Antar/modules/coppermine/include/picmgmt.inc.php on line 181

DJMaze

Please wait for CPG for phpNuke 1.2 or download our CVS version.
It has a Advanced debug mode which reveals your PHP and GD version.

if PHP 3>= 3.0.16 or PHP 4 then PHP supports it.
GD version must be 1.8.3 or higher.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Alajo

I runnen a program called analyze.php of nuke corps in my server, this is the result:

GD Library Information Type Value
GD Version between 1.3 and 1.6.1
FreeType Support No
T1Lib Support No
GIF Read Support Yes
GIF Create Support Yes
JPG Support No
PNG Support No
WBMP Support No
XBM Support No




PHP Specific Values for Portal del Grup de Voluntariat AntarCategory Value
PHP Version 4.1.2

Operating System Data for Portal del Grup de Voluntariat AntarType Value
OS Type Linux cgis 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 EST 2000 i686 unknown


It seems that my server doesn't have the right version of GD lybrary,
CAN I DO ANYTHING TO SOLVE THAT?

DJMaze

Contact them and ask if they want to install GD 2.x

If not you always have to create the thumb images yourself.
Upload them all and manualy edit your database with phpMySQLAdmin or MySQL-Front
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0