Image jpeg workaround Image jpeg workaround
 

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

Image jpeg workaround

Started by jim8, February 28, 2006, 04:02:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jim8

Hello,
I am try to comment out your work around but when I do it I get all sort of crazy text. Here is what I tried whats wrong?
// Work around to get jpeg files to work
// imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);

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


Nibbler