Hi, I am using: imagecreatefromgif(); imagecreate(); imagecopyresampled(); imagegif(); to make thumbnails of GIFs, however when I make thumbnails of transparent GIFs, it gets really messed up. How do I fix that? I am ok with the backgroung being white (#FFFFFF) or even better being transparent
Have a look at this snippet here: http://us3.php.net/manual/en/function.imagecolortransparent.php#67944 It should set you in the right direction. Also make sure to read the notes about transparency and copying at the top of that page.