Dynamic Image >>> Writing Text on an image...
Posted: Sat May 29, 2004 6:00 pm
I'm trying to make it whereas I can have an image...
and I can have the LINK to the image be the text written in it...
So far I've got:
and I can have the LINK to the image be the text written in it...
So far I've got:
Code: Select all
<?php
header("Content-Type: image/PNG");
if (isset($text)){
$blah == $text;
}
else{
$blah == "No text";
}
$im = ImageCreateFromPNG("bgpic.png");
ImageString($im, 2, 90, 19, "$blah", black);
ImagePNG($im);
?>