WordPress.org

Forums

Taxonomy Images II
Problems saving PNG file with Alpha (12 posts)

  1. jmckinnell
    Member
    Posted 3 years ago #

    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);

    http://wordpress.org/extend/plugins/category-images-ii/

  2. skthewebmaster
    Member
    Posted 3 years ago #

    its really usefull for me. i got my problem solved with this reply regarding to trasparent images.

    I have also used developer version and when i upload transparent png images, it display just black background nothing else. So i found this support and change the code as you said and its working fine now.

    Many Thanks!

  3. mojohn
    Member
    Posted 3 years ago #

    Hi

    put those codes still not working..what is development version?

  4. mojohn
    Member
    Posted 3 years ago #

    Hi disregard my last post my bad, i mean png is not working properly it has a black background

  5. Rasheed Bydousi
    Member
    Posted 2 years ago #

    Thanks jmckinnell,

    I hope developer will update the plugin.

  6. forfuture
    Member
    Posted 2 years ago #

    Professor Rashid, unfortunately, support forum for all the Arab WordPress themes old and you need help on the new addition to the Facebook application, and also how to explain my situation to the image?? And Batdhir to you because I wrote my answer here because I unfortunately Malesh Linkin Park .. Aahtermati.

  7. forfuture
    Member
    Posted 2 years ago #

    Professor Rashid, unfortunately, support forum for all the Arab WordPress themes old and you need help on the new addition to the Facebook application, and also how to explain my situation to the image?? And Batdhir to you because I wrote my answer here because I unfortunately Malesh Linkin Park .. Aahtermati.
    Uh Mounsabh thanking you for Tribk this template Aalit know programmers here settled Script Converter Script Forums Alfie PHP and BBC Board because I Avany of transfer threads to Lord compelled Type the Forum and re-writing topic again Balor Dberas or if the added mobility and raise topics automatically be the best because the Forum in the interaction more Aahtermati Aaboss .. proud of you Kter

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    These are English language forums. Please use English.

  9. forfuture
    Member
    Posted 2 years ago #

    okSorry I'm not that good English writing and speaking but just please help

  10. forfuture
    Member
    Posted 2 years ago #

    Oak a name you are clear you are an Arab first sweet Kter Alasepk this right
    I want to help Aalhabib php to prevent copying of text and images and also add the new Facebook is not working there is a mis??

  11. forfuture
    Member
    Posted 2 years ago #

    Alpha
    Aaberns helped me change my picture to the uniform formality Makhlay Octopus Brovily this is supposed to show me my picture here here
    https://en.gravatar.com/ashraffayez

  12. forfuture
    Member
    Posted 2 years ago #

    Rraa finally appeared good programmers Mtkhalo group offline without making some progress and Brice such as Facebook if net access?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Taxonomy Images II
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic