Hello, I have a PHP code which is creating 100x100 thumbnails from larger images. But when I create thumbnails the images having transperant background turns into black color. How can I solve it? Please help me. Thanks in advance.
what is your thumbnail generator PHP code ? when you create new image for creating thumbnail you can fill background of image .
that background color change i have tried but using that one, one of my gif file was fully converted into white color. Here is the code which I had written along with the thumbnail generation code. $white = imagecolorallocate($tn, 255, 255, 255); imagefill($tn, 0, 0, $white);