CAPTCHA colors problem
Hi,
I have been using the Captcha feature of the WA CFSP just fine until I ran into this nagging problem which I'm describing below.
Does anyone have a clue what could be the problem and a solution ?
On host1, it works fine and on host2 it no longer works properly.
On host 1 with this setting for WA_Globals :
Setting 1 : ("standard" : white background and black text)
<?php
$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "5" ;
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;
$WAGLOBAL_Captcha_BG = "FFFFFF" ;
$WAGLOBAL_Captcha_Noise = "000000" ;
$WAGLOBAL_Captcha_Text = "000000" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;
$WAGLOBAL_Email_Server = "" ;
$WAGLOBAL_Contact_Email_Subject = "Online Contact Form Response" ;
$WAGLOBAL_Contact_Email_To = "email@yourdomain.com" ;
$WAGLOBAL_Contact_Email_CC = "" ;
$WAGLOBAL_Contact_Email_BCC = "" ;
?>
The result shown in attached crypto1.jpg
With this setting of WA_Globals
Setting 2 : (blue background and deep yellow text)
<?php
$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "5" ;
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;
$WAGLOBAL_Captcha_BG = "78B9F6" ;
$WAGLOBAL_Captcha_Noise = "000000" ;
$WAGLOBAL_Captcha_Text = "FF9933" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;
$WAGLOBAL_Email_Server = "" ;
$WAGLOBAL_Contact_Email_Subject = "Online Contact Form Response" ;
$WAGLOBAL_Contact_Email_To = "email@yourdomain.com" ;
$WAGLOBAL_Contact_Email_CC = "" ;
$WAGLOBAL_Contact_Email_BCC = "" ;
?>
The result shown in crypto2.jpg
Up to now everything is fine.
On host 2 :
With Setting 1 : result shown in crypto3.jpg
With Setting 2 : result shown in crypto4.jpg
Colors don't work properly anymore !
With setting1, black text appears light yellow !
With setting2, deep yellow text is not visible on blue background !
I've tried various settings on host 2 to "turn around" that difficulty but to no avail.
The best I get so far is crypto3.jpg which is hardly readable !
I have to add that both hosts have ofcourse their gd enabled and that the only difference between the two is the following :
Host1 : FreeType Linkage : with freetype
Host2 : FreeType Linkage : with TTF Library
So I would have thought that captcha was more likely to work under host2 than host1 and it's just the opposite !
I can't figure it out !
Thank you very much in advance for any suggestion.
Dan