Image jpeg workaround Image jpeg workaround
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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