According to my host, the server I am on has GD 2.0 Intalled.
However, when I use this script
<?php
header("Content-type: image/png");
$string = $_GET['text'];
$im = imagecreatefrompng("images/button1.png");
$orange = imagecolorallocate($im, 220, 210, 60);
$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
imagestring($im, 3, $px, 9, $string, $orange);
imagepng($im);
imagedestroy($im);
?>
And call it with this
<img src="test.php?text=Hello">
It shows up as an 'X'. Is there something I have to do first?
Or is there a simpler way (GIF Perhaps) That I can test?
Thanks!