nette idee, aber kann ich nicht.
Vorschau-Modus = dynamisches Bild
Download-Modus = Bild auf Platte => Download => Bild löschen
der aufruf, um das bild auf die platte zu schreiben unterscheidet
sich nur wenig von der dyn. anzeige:
PHP-Code:
// dynamisch :
$mybutton = "button.jpg";
include("buttondef.inc"); // infos über farbe & TTF-Font, etc
$myfont = $schrift;
$image1 = imagecreatefromjpeg($mybutton);
$vcolor1 = ImageColorAllocate($image1,$r,$g,$b);
ImageTTFText($image1, $h, $rt, $l, $o,$vcolor1, $myfont,$menutext);
header("Content-Type: image/jpeg");
header("expires content=0");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
imagejpeg($image1,"",100);
imagedestroy($image1);
// platte
$mybutton = "button.jpg";
include("buttondef.inc"); // infos über farbe & TTF-Font, etc
$myfont = $schrift;
$image1 = imagecreatefromjpeg($mybutton);
$vcolor1 = ImageColorAllocate($image1,$r,$g,$b);
ImageTTFText($image1, $h, $rt, $l, $o,$vcolor1, $myfont,$menutext);
imagejpeg($image1,"buttonneu.jpg",100);


Einen Kommentar schreiben: