In a different file I call this file using (echo “”
I’m trying to make the text in a image i create larger. I tried to use this but the text in the image is displayed exactly like this : Welcome to Jstone Web!. but if I echoed $message it worked fine. But in the imagestring fuction it doesen’t work the same. How am I supposed to fix this?
[php]
$image = imagecreate(980,75);
$message = ‘Welcome to Jstone Web!’;
$background = imagecolorallocate($image,000,068,187);
$foreground = imagecolorallocate($image,255,255,255);
imagestring($image,5,5,1,$message,$foreground);
header(“Content-type:image/jpeg”);
imagejpeg($image);
[/php]
yes .you are right to use “” tag to make the font bacame lager ,but it only work in html . this is a image . I think you should change the arguement.
anyquestion please email me [email protected] or skype lamb_137