Layer1 works fine but layer 2 is very poor from quality
<?php
$im = @imagecreate(460, 80);
$transparent = ImageColorAllocate($im, 0, 0, 0); // Dit wordt als achtergrond ingesteld.
ImageFill($im, 150, 40,$transparent);
ImageColorTransparent($im, $transparent);
$im1 = @imagecreatefromgif("http://www.beebiesite.nl/balk.gif");
imagecopy ($im, $im1, 20, 23, 0, 0, 420, 34);
$text_color = imagecolorallocate($im, 0, 0, 0);
imagestring($im, 2, 20, 17,"$url.beebiesite.nl", $text_color);
imagestring($im, 2, 53, 33, "5", $text_color);
imagestring($im, 2, 104, 33, "10", $text_color);
imagestring($im, 2, 153, 33, "15", $text_color);
imagestring($im, 2, 205, 33, "20", $text_color);
imagestring($im, 2, 259, 33, "25", $text_color);
imagestring($im, 2, 311, 33, "30", $text_color);
imagestring($im, 2, 362, 33, "35", $text_color);
imagestring($im, 2, 416, 33, "40", $text_color);
////// here it goes wrong
$im2 = @imagecreatefromgif("http://www.beebiesite.nl/baby1.gif");
imagecopy ($im, $im2, $pos, 10, 0, 0, 31, 51);
imagestring($im, 2, 50, 62, "$weken weken & $wdag dagen zwanger. Nog maar $dagen dagen te gaan.", $text_color);
header ("Content-type: image/gif");
imagegif($im);
imagedestroy ($im);
?>
how to fix this