danielrossthomas
Member
Posted 2 years ago #
Hi forum
I have installed the latest versions of contact form 7 and really simple captcha.
the problem i am getting is my .png images are just black boxes - not the white background black text boxes they should be, everything elese seems fine and i cant figure out why its not working, my isp says theres no prob with GD or freetype on the server also.
the .php files have the generated four letters/numbers in them, its jsut that you cant see anything on the image files.
any help would be much appreciated.
Thanks
Lautrec
Member
Posted 2 years ago #
Hi,
I have the same problem.
I first developed my site off line with Xampp. The letters/numbers were black on a white background. When I uploaded the site I noticed the black text boxes. I've solved it temporally by making the letters/numbers white.
Should this problem be related to the MySQL client version? Who can help?
Wbr
Lautrec
Member
Posted 2 years ago #
Hi,
I solved the problem with black .png images.
I converted the sql-database to UTF-8 with Notepad++
Wbr
Jan
afungusboy
Member
Posted 2 years ago #
I had the same issue. Modifying the foreground color in really-simple-captcha.php worked. Change this array $this->fg = array( 0, 0, 0 ); to a different color/set of numbers.
marky007
Member
Posted 1 year ago #
I'm having the same problem. If you follow the documentation:
[captchac your-captcha size:s fg:#ffffff bg:#000000]
the image colour works but the text colour doesn't change so it's white on white or black on black etc!
Also tried editing the array in really-simple-captcha.php
$this->fg = array( 0, 0, 0 );
But still the text colour doesn't change making the captcha image unreadable
Please can anyone help?
Thanks