Support » Plugin: CH Captcha » CH Captcha Plugin Error

  • Thanks for making your plugin available but I had one issue. I attempted to use this on a test website and this error appeared after placing the shortcode in Contact Form 7. “The image “” cannot be displayed because it contains errors.” I then removed the shortcode and the website came back up normally. I was not able to proceed further. Can you let me know if you have any updates coming soon or a possible fix? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chetan Khandla


    I have check plugin but i am not able to find issue. Can you sand me what error is comming? so I resolve.

    The issue is here:
    ch-captcha/custom-captcha/phptextClass.php: header('Content-Type: image/jpeg');/* defining the image type to be shown in browser widow */

    You generate the captcha as a base64 data string, but you’re telling the browser to treat the *entire page* as image/jpeg with that header() call.
    I’ve commented it out on one of my client’s sites and it works again.

    This is a plugin-breaking issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CH Captcha Plugin Error’ is closed to new replies.