Only red cross is displayed Only red cross is displayed
 

News:

cpg1.5.48 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.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Only red cross is displayed

Started by CHRISS76, April 14, 2006, 09:19:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CHRISS76

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

Joachim Müller


CHRISS76

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

Joachim Müller


ddpmacho

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.

CHRISS76


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

Stramm

please open the links GauGau posted... all necessary info to be found there