WordPress Plugin: AuthImage

// June 7th, 2004 // Techie

I was getting sick of all the comment spam, so yet more WP goodness for you:

Download: WP AuthImage Hack (v3.0) here.

See Comment #215 below for instructions on using version 2.1.1 of this plugin without the FreeType extension.


New in version 3.0: Last night I found this site which seems to indicate that the default image generated by AuthImage was way too easy to crack; I’m not really all that surprised. A little looking around and I found a great, free PHP class package called VeriWord, which does a hell of a lot better job than I did in generating a random image — perhaps too good. I’ve sorta sloppily incorporated the VeriWord code into AuthImage, and judging by what I see so far, it should take quite some time for PWNtcha to crack it.

Unfortunately though, I’ve gotten rid of the text version of AuthImage in this version. If you still want to use the phonetic text version, it still works in version 2.1.1.

Make SURE you read the new README if you’re interested in installing this new version. You can see the new image at the bottom of this page


Special thanks to Marcus Welz for his work on using session variables and other tweaks!

This hack (NOT plugin) plugin displays an image with some random text that the commenter has to enter in order for their comment to go through. This should cut down on any bots out there from spamming your comments area and perhaps remove the need for comment moderation.

NOTE: This version now includes the ability to generate phonetic-English text if you don’t want to (or can’t) create an image. See the README for details.

NOTE: Another option to consider is possibly utilizing the Drupal Captcha image option. Does anyone think it’s better than Veriword? Let me know and maybe I’ll consider either adding an option to use it or change to it completely. Personally I think what I have now is fine.

496 Responses to “WordPress Plugin: AuthImage”

  1. [...] Gudlyf’s AuthImage Plugin (http://www.gudlyf.com/index.php?p=376)  [...]

  2. [...] AuthImage : This plugin displays an image with some random text that the commenter has to enter in order for their comment to go through. This should cut down on any bots out there from spamming your comments area and perhaps remove the need for comment moderation. [...]

  3. Chuck says:

    Great Hack!

  4. Doug Castell says:

    re: w3c NHTML compliance:
    I find that if you modify the code in the authimage.php like this:

    //

    the page will then properly validate and still allow the plugin to function.

  5. Doug Castell says:

    Ok, so the code doesn’t post properly, but here’s a .txt file snippet of my modified authimage.php code.

    http://www.castellcomputers.com/files/authimage_xhtml.txt

    My page now validates as XHTML transitional — It’s never validated as strict anyway. Now, however, when checking strict in the validator, the authimage stuff doesn’t get flagged as a problem any more.

  6. Ixwebhosting says:

    the first captcha shows without the bottom.. so i cant figure it out is a E or F. so this is the refreshed page.. and i would like to try whether comment can be posted or not. this no spam, pls dont get piss off :P ..

  7. [...] potrete integrare AuthImage in modo da prevenire lo spam! Per integrarlo seguire questi 2 semplici [...]

  8. [...] activation. Note: Spam Karma does not work well with this plugin. Mike suggests that you use the Authimage plugin instead of Spam [...]

  9. [...] I set up the AuthImage plugin for WordPress to stop it once and for all. Now you have to fill out one of those annoying [...]

  10. Doug Houston says:

    Just checking this system to see of it’s working with AJAX

  11. Rob says:

    Oops, I was still using version 1.1 – but it (still) does a good job of keeping most of the simple spammers out :-)
    I’ve just installed the new 3.0 version on another blog (my brother’s blog). Just follow the instructions and 20 sec’s later it all worked.

    Thanks for the good job!

  12. David says:

    Exellent, it works very well ! thkx u

  13. zizzie amanzie says:

    I need to recognize a text in a captcha image before I can sign in,the space provided is blank showing no text.What should I do to complete the application,help.

  14. babs says:

    I’m finding it very difficult to read which letters there are!! Could I for example change the background color and the font?!

  15. [...] AuthImage This plugin displays an image with some random text that the commenter has to enter in order for their comment to go through. This should cut down on any bots out there from spamming your comments area and perhaps remove the need for comment moderation. [...]

  16. mrcopesetic says:

    hi can you please help me and tell me where to find the “my-hacks.php” file?

  17. John says:

    Hi,

    When i want to insert an image, i’ve got this code error:

    Fatal error: Call to undefined function: createaicode() in …/wp-content/plugins/authimage/authimage.php on line 19

    Can you help me, please ?

    John

  18. Jasper says:

    I got this problem too.

  19. jhnsfgsfg says:

    gnfgg mt asetrjhrtj srkzsjtr srjtsrtjs. asetjt a, aejh etajetajetj.