forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jim8 on February 28, 2006, 04:02:55 am

Title: Image jpeg workaround
Post by: jim8 on February 28, 2006, 04:02:55 am
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']);

Title: Re: Image jpeg workaround
Post by: Nibbler on February 28, 2006, 03:56:21 pm
Update to 1.4.4