mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 01:09:21 +02:00
Fix headline.php: change image format to .png cause of black background
This commit is contained in:
parent
4b9a7eaf85
commit
68170e42cd
@ -31,12 +31,12 @@ if(!@file_exists($page_file))
|
||||
imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), $font, $_GET['t']);
|
||||
|
||||
// header mime type
|
||||
header('Content-type: image/gif');
|
||||
header('Content-type: image/png');
|
||||
|
||||
// save image
|
||||
imagegif($image/*, $file*/);
|
||||
imagepng($image/*, $file*/);
|
||||
//}
|
||||
|
||||
// output image
|
||||
//header('Content-type: image/gif');
|
||||
//header('Content-type: image/png');
|
||||
//readfile($file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user