I started using captcha/textimage recently but was disappointed in the options offered by Drupal's captcha as opposed to other captchas I'd used in the past. It looks like a lot options are available, but they don't have settings offered yet (except the font-size, recently added).

I cooked up a patch that adds simple options to customize the features of textimage, with form verification and a few new options. I tried to make the patch work in all situations, including when there are no background images or TTF fonts. Most settings affect captchas with or without TTF support equally.

Here's the list of changes:
* Text doesn't run off the image to make unreadable
* Added settings for all available options
* Added support for background images (works better with lighter images, since the text is usually dark)
* Added new options noise (using pixels) and image margin
* Most options work with generic fonts for systems that do not offer TTF support

I've attached a screenshot of the captcha with font size 24 and with and without image backgrounds. The patch will follow shortly.

Comments

quicksketch’s picture

StatusFileSize
new21.51 KB

...and the patch. Please consider adding these features to textimage. Since it is the only captcha directly available for Drupal, it'd be nice to see it fit everyone's needs.

wundo’s picture

Assigned: Unassigned » wundo
wundo’s picture

Ow!!!

These features seens really interesting... I did some tests and it sound so great, the Image Background is great ideia. Thanks Nathan...

The only problem is that your patch don't worked here, so I needed to patch it manually :(

quicksketch’s picture

StatusFileSize
new21.74 KB

My patches don't seem to be working lately! I'm really sorry about that, it looks fine on my machine. Here's a whole module if you want to save yourself the patching trouble.Thanks for considering my additions, I don't want to bloat the module, but I do want it to work for everyone.

wundo’s picture

Status: Needs review » Reviewed & tested by the community
wundo’s picture

Status: Reviewed & tested by the community » Fixed

commited

Anonymous’s picture

Status: Fixed » Closed (fixed)