Author Topic: How do I make CAPTCHA easy to read?  (Read 6408 times)

0 Members and 1 Guest are viewing this topic.

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
How do I make CAPTCHA easy to read?
« on: September 12, 2006, 02:59:38 PM »
I have changed the $captcha_height = 70; and the $captcha_text_size to 20 and $captcha_text_transparency = 85;

But how do I make the CAPTCHA easier to read? Not as wavey and distorted?

Terry

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How do I make CAPTCHA easy to read?
« Reply #1 on: September 12, 2006, 03:05:21 PM »
it would be equal to no captcha at all...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: How do I make CAPTCHA easy to read?
« Reply #2 on: September 12, 2006, 03:08:48 PM »
it would be equal to no captcha at all...

Ok - how about "easier" to read (instead of "easy"). Just a little? :)
Is that not an option?

Attached is a sample of the kind of distortion which is too hard to read...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How do I make CAPTCHA easy to read?
« Reply #3 on: September 12, 2006, 03:15:15 PM »
in includes/captcha_utils.php play with these numbers:
Code: [Select]
  $h = rand(5, 10);

[EDIT]
did you scale the attached image? why is it so pixelated? or your server only has GD1 and not GD2?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: How do I make CAPTCHA easy to read?
« Reply #4 on: September 12, 2006, 03:21:20 PM »
Thank you!! Changed to 3 and 6 and it looks much smoother.
You're the best V@no.

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: How do I make CAPTCHA easy to read?
« Reply #5 on: September 12, 2006, 03:23:05 PM »
did you scale the attached image? why is it so pixelated? or your server only has GD1 and not GD2?

No, I didn't scale the image, but I did change the size of the graphic and size of the fonts (as noted above). The CAPTCHA image was just too huge on the page.
I'm using GD2.

T