Sorry for double post.
I have
But it doesn't seem to be displaying the text in the right font (comic.ttf) on the image...PHP Code:header("Content-type: image/gif");
$image = imagecreatefromgif( "christmas.gif" );
$font = 'comic.ttf'; // added the font to use (its in same directory)
$colour = imagecolorallocate($image, 0, 119, 180); //RGB colour, used for the text color
imagestring( $image, 50, 80, 20, $text, $colour ); //the image background, font size, width, height, text to echo, colour
imagegif( $image );
imagedestroy( $image );







Reply With Quote
You're really not plugging $font in anywhere..

