Support » Plugin: thumbGen » Thumbgen generated images are black

Viewing 9 replies - 1 through 9 (of 9 total)
  • btw: we have a dedicated server with gdlib 2.1, debian 7, nginx, php5-fpm.

    roflman79

    (@roflman79)

    Same problem for me on WordPress 3.8

    esmi

    (@esmi)

    @roflman79: It is considered impolite to interrupt another poster’s ongoing thread unless you are posting a solution or suggestion. It causes significant problems for the forum’s volunteers and prevents us from being able to track issues by topic. Please post your own topic.

    roflman79

    (@roflman79)

    @esmi I though I was contributing the the discussion by mentioning the fact the plugin doesn’t work on WordPress 3.8. I was about to make my own post on the subject but surely people contributing to the same post about the same subject is preferable to many people posting the same error on a forum post that didn’t have any advice or help on in the first place?

    esmi

    (@esmi)

    I’m afraid that is not how these forums work. Please try reviewing the Forum Welcome.

    I have same problem when I upgraded WP to 3.8.
    To fix it i modify this line:

    $openImage=substr($openImage,0,1) != “/”? $sitePath.$openImage:$openImage;

    and I use:

    $openImage=substr($openImage,0,5) != “/home”? $sitePath.$openImage:$openImage;

    It’s work for me for now.

    Yes that line is the problem. I removed it and it works now. For debugging, just remove all “@” in thumbGen.php and it will tell you the problem.

    Friends,

    Strangely, in my site the line appears like this:

    $openImage=substr($openImage,0,1)==”/”?$sitePath.$openImage:$openImage;

    The comparison is “==”, not “!=”.

    Unfortunately, to change or comment this line didn’t cause any effect. My images continue in black. 🙁

    m.

    Marco, did you try to remove all “@” from the code? It might then give you error messages that can help you find the problem.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Thumbgen generated images are black’ is closed to new replies.