[Plugin: Taxonomy Images II] Problems saving PNG file with Alpha
Hello, I’m using your Development version and everything is working fine in WP 3.3.1 however one little bug is that it won’t save transparencies in PNGs.
I’ve done a little research for you and found that you need to include some functions to enable png alpha blending.
If you modify line 298 and 299 of class-CAtegory-Image-II.php with the following code everything works fine.
$target_gd = imagecreatetruecolor( $targetw, $targeth ); imagealphablending( $target_gd, false); imagecopyresampled ( $target_gd, $src_gd, 0, 0, 0, 0, $targetw, $targeth, $w, $h ); imagesavealpha($target_gd, true);
- The topic ‘[Plugin: Taxonomy Images II] Problems saving PNG file with Alpha’ is closed to new replies.