Jak wstawić GIFa do templeata HTML aby prócz obrazka byla reszta storny ???
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
?IMG? |
Posiadam templeta HTML do którego chcałbym w miejsce ?IMG? wstawić obrazek.
w PHP potem robie:
$site = new template('template/grafika.htm');
header("Content-type: image/jpg");
$nmImage = imagecreatefromjpeg("a.jpg");
$bg = imagecreatetruecolor(400,400);
$white = ImageColorAllocate($bg,255,255,255);
ImageCopy($bg,$nmImage,10,10,2500,2900, 400, 400);
Imagejpeg($bg);
$site->add("?IMG?", ???????? );
echo $site->show();