Forums

Captcha Image

GreyHead 14 Feb, 2010
Hi atolli,

That looks correct to me. Please post a screenshot of what you are seeing.

Bob
nml375 14 Feb, 2010
Hi atolli,
Please locate the chrono_verification.php file in your com_chronocontact directory and edit this:
Locate the following line:
$rand2 = substr(str_shuffle($alphanum), 0, 7);

Change it into this:
$rand2 = '';


This should remove the gray "shadowy" text in the background. Please be aware that this makes it easier for machines to read the captcha however.

/Fredrik
atolli 15 Feb, 2010
Hi Frederik,

Can I also replace the numbers with say a shaded area to overcome the problem you stated?
Thanks for your help. Abraham
GreyHead 15 Feb, 2010
Hi Abraham,

Assuming that you have the PHP GD library installed switch the Anti-Spam "What type of image to show ?" to With Fonts. This should give you a better image without all this hacking of the code.

Bob
nml375 15 Feb, 2010
Hi Abraham,
Well, the point of the shaded text is to confuse software that try to interpret the image. Simply changing the background color will achieve virtually nothing. What "we" need is a non-uniform background to make it harder for a software to separate the letters/digits from the image.

Using the "With Fonts" setting Bob suggested would still keep the grey random letters and digits in the background, but makes the black text somewhat more prominent.

/Fredrik
atolli 17 Feb, 2010
Thank you all for your help. To make a suggestion it appears some more choices on how to present Captcha would be wonderful, perhaps an update? Once again thank you!
GreyHead 17 Feb, 2010
Hi Abraham,

That's the second request I remember in several years ao I'm afraid that it's pretty unlikely :-(

Bob
atolli 17 Feb, 2010
hi Bob,

Well nothing ventured nothing gained...but i do believe it would make life easier for people if they had more choice iso adjusting css'. Thanks you support and wishing you a nice day!
frennyscott 04 May, 2010
Here this is a very good forum post many of my problems regarding the Captcha Images have been solved but When I attempt to use the CAPTCHA control with Virtual Directory website, the captcha image path is not ok and the image is not displayed. I don't have the same problem when I create a regular IIS website.
I registered the httpHandler in my web.config as follows:

<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>

<handlers>
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />

</handlers>

Any suggestions?

Thanks.
This topic is locked and no more replies can be posted.