Transparency

The default JPEG format of the thumbnails cannot handle transparency, so for the moment, only the background color of the transparent png/gif is filled with the selected color (by the parameter bgcolor=#ffffff). It is quite difficult to create a transparent thumbnail with PHP-GD only (to code it; for some php-installations it is impossible; also more memory is eaten).

On the other hand, it is trivial to produce a transparent PNG with ImageMagick, so I am considering adding such a feature. If you have ideas of the implementation, let me know.

Demo

The first suite is with added bgcolor=#ffffcc, and it is set as background in the images too: that's why they seem transparent (although the thumbs are non-transparent JPEGs). The second suite uses the same files, with the default (white, #ffffff) background color.

>>bgcolor=#ffffcc padding=8px<<
(:thumblist Transparency. px=50 bgcolor=#ffffcc:)

(:thumblist Transparency. px=50:)
>><<
800px-Halloween-witch.svg.png: 800x450, 62k (2009-02-13 16:45) Brusen.png: 202x134, 2k (2009-02-13 16:45) Dandelion_clock_detail.jpg: 900x600, 98k (2009-02-13 16:45) Karta_101_115_Nanovitsa_2.png: 202x134, 2k (2009-02-13 16:45) Karta_167_42_Levski_4.png: 202x134, 2k (2009-02-13 16:45) Karta_Barakovo.png: 202x134, 2k (2009-02-13 16:45) Karta_Debr.png: 499x392, 19k (2009-02-13 16:45) LZ_Looney_Tunes.gif: 277x518, 36k (2009-02-13 16:45) Nevsha.png: 202x134, 2k (2009-02-13 16:45) Vurbovka.png: 202x134, 2k (2009-02-13 16:45) W.jpg: 900x527, 57k (2009-02-13 16:45) d.jpg: 900x675, 48k (2009-02-13 16:45) dwg.gif: 34x34, 0k (2009-02-13 16:45)dwg.png: 16x16, 0k (2009-02-13 16:45)email.png: 128x128, 14k (2009-02-13 16:45) lr_2005-08-06-006787_fmc.jpg: 400x600, 22k (2009-02-13 16:45)
800px-Halloween-witch.svg.png: 800x450, 62k (2009-02-13 16:45) Brusen.png: 202x134, 2k (2009-02-13 16:45) Dandelion_clock_detail.jpg: 900x600, 98k (2009-02-13 16:45) Karta_101_115_Nanovitsa_2.png: 202x134, 2k (2009-02-13 16:45) Karta_167_42_Levski_4.png: 202x134, 2k (2009-02-13 16:45) Karta_Barakovo.png: 202x134, 2k (2009-02-13 16:45) Karta_Debr.png: 499x392, 19k (2009-02-13 16:45) LZ_Looney_Tunes.gif: 277x518, 36k (2009-02-13 16:45) Nevsha.png: 202x134, 2k (2009-02-13 16:45) Vurbovka.png: 202x134, 2k (2009-02-13 16:45) W.jpg: 900x527, 57k (2009-02-13 16:45) d.jpg: 900x675, 48k (2009-02-13 16:45) dwg.gif: 34x34, 0k (2009-02-13 16:45)dwg.png: 16x16, 0k (2009-02-13 16:45)email.png: 128x128, 14k (2009-02-13 16:45) lr_2005-08-06-006787_fmc.jpg: 400x600, 22k (2009-02-13 16:45)