coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: CHRISS76 on April 14, 2006, 09:19:40 PM

Title: Only red cross is displayed
Post by: CHRISS76 on April 14, 2006, 09:19:40 PM
Hey guys,

when I upload a jpeg file with coppermine 1.4.4 in http-modus, at the next page only a red cross is displayed, and
then I have to organize this to my test category and then coppermine says the picture could not be composed.
I have php 4.3.4.
Also the file is uploaded to the server, but no thumb is created and the picture is not displayed at any category.
safe_mode local is on, safe_mode master is off, and the GD Lib 2.x is working correctly.
I also tried it with the code changes in includes/picmgmt.inc.php


           // imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);
         
         $fh=fopen($dest_file,'w');
            fclose($fh);
            imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);

Also the folders have 777.
Nothing worked!

Any ideas from you??

Many thanks and regards

Chris
Title: Re: Only red cross is displayed
Post by: Joachim Müller on April 14, 2006, 09:52:52 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Only red cross is displayed
Post by: CHRISS76 on April 15, 2006, 05:12:46 PM
Hello GauGau,

I investigated a little bit more, the system (maybe coppermine, but I think more the GD Lib) can't work with jpg-Files bigger than about 250 kb.
Smaller pictures are no problem, but the bigger ones are not working!

Do you have an idea?

Kind regards

Chris
Title: Re: Only red cross is displayed
Post by: Joachim Müller on April 16, 2006, 01:11:57 AM
http://forum.coppermine-gallery.net/index.php?topic=24088.0
Title: Re: Only red cross is displayed
Post by: ddpmacho on April 16, 2006, 03:38:05 PM
I'm going to put my 2cents in here if I may. I was having the same problem and to resolve it I resized all my pics to 640x480 before I uploaded them and that worked. Recently I switched hosts and did a fresh install of 1.4.4 and left all settings to default. I uploaded my pics went to batch add and had no problems. The majority of my pics are 5mg and above. So this may not be a coppermine issue but a hosting issue.
Title: Re: Only red cross is displayed
Post by: CHRISS76 on April 17, 2006, 06:30:41 PM

Hey guys,

many thanks, maybe I can investigate it a little more with different hosting packages.
If I have some more information, I will post it here!

Thanks and enjoy the day!

Chris
Title: Re: Only red cross is displayed
Post by: Stramm on April 17, 2006, 08:04:51 PM
please open the links GauGau posted... all necessary info to be found there