if anyones having trouble with transparencys do the following change:
replace:
code:
// finished now just make the image a PNG and show it
header("Content-Type: image/png");
imagepng($im);
imagedestroy($im);
with:
code:
// finished now just make the image a GIF and show it
header("Content-Type: image/gif");
imagegif($im);
imagedestroy($im);
this will make the image a GIF file, instead of a png, although PNG is better for a few reasons, it does not support transparancy in IE6 and lower, it is however supported in IE7 and firefox
GIF is globaly supported