+ Reply to Thread
Results 1 to 4 of 4

Thread: Increasing the size of the letters in Captcha

  1. #1
    Join Date
    Jun 2012
    Posts
    2

    Default Increasing the size of the letters in Captcha

    We have been receiving complaints that the letters are two small in the captcha image. I know how to make the whole image larger, but what we want to do is make the letters larger and easier to read. Is there a way to make this adjustment?

    Bud

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Increasing the size of the letters in Captcha

    r u using tectite's "verifyimg"?

    if so, look for this in verifyimg.php:

    PHP Code:
    $iFont 5;            // use builtin font #5 
    and try different values instead of 5

  3. #3
    Join Date
    Jun 2012
    Posts
    2

    Default Re: Increasing the size of the letters in Captcha

    I have tried 6,7.8,9,10 and no difference. Is there a way to find out what the numbers relate to and what is available to me as options?

    Thank you

    Bud

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Increasing the size of the letters in Captcha

    maybe u have a really old version of php....

    there's another place the text gets created.

    Look for this line (it's about 10 lines below the other one):
    PHP Code:
    AddString($imText,5,0,0,$sVerifyString,$iTextFgColor); 
    try replacing the 5 with different numbers

    but, here's the php doco:
    http://php.net/manual/en/function.imagestring.php

    apparently 5 is the largest font.

    u should chgeck with ur host to see why php isn't doing the right thing

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Attacks on the form - random letters
    By Sherlock in forum Community Support
    Replies: 2
    Last Post: 07-Feb-2012, 03:19 PM
  2. Using Capital Letters in Email Form
    By ianjcm in forum Community Support
    Replies: 0
    Last Post: 01-Jul-2011, 08:09 PM
  3. Prevent letters in number only field
    By borealis in forum Features Questions
    Replies: 2
    Last Post: 10-Apr-2009, 01:41 PM
  4. Using accented letters
    By jumborex in forum Community Support
    Replies: 3
    Last Post: 03-Jul-2008, 09:10 AM
  5. Captcha number/letter size
    By WillieOne in forum Community Support
    Replies: 3
    Last Post: 12-Apr-2007, 10:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts