Alright just found the time to fix it. 😉
I am starting a fresh before I made any changes... Here's what I have:
function colorallocate($im,$color){
$color = str_replace('#','',$color);
$red = hexdec(substr($color,0,2));
$green = hexdec(substr($color,2,4));
$blue = hexdec(substr($color,4,6));
return ImageColorAllocate($im,$red,$green,$blue);
}
From this is what I started to use to try to set the transparency, and it's not worked. The thing is.... the little slider bars DO work, they go transparent whenever they in all actuality show up teal first. (which is the default color for a png image that has transparency) This really is above me but I am trying to learn as I go in my free time.
I am guessing you have to assign a color right? And I don't understand what to do with imagetruecolortopalette as I saw no samples. Sorry I am really such a newbie to php...
Thanks again for all your help!!!