Hi all,
I've never done php before just been assigned with doing this task at work. Basically I've got to do something exactly the same as this:
http://www.hetemeel.com/einsteinform.php
I've got this far but need to define the font etc.
<?php
header("Content-type: image/png");
$string = $_GET['text'];
$im = imagecreatefrompng("button1.png");
$orange = imagecolorallocate($im, 0, 0, 0);
$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
imagestring($im, 3, $px, 9, $string, $orange);
imagepng($im);
imagedestroy($im);
?>
I just need to know how to add the font file and text size. Don't need to know how to slant/rotate it etc. Im pretty sure I have GD on my server...
Any help would be really appreciated! Cheers,
SkywayStudios