Forum Replies Created

Viewing 1 replies (of 1 total)
  • I achieve that by changing these lines of code:

    1. $this->char_length = 4;
    2. if ( $im = imagecreatetruecolor( $this->img_size[0], $this->img_size[1]) )

    change to:

    1. $this->char_length = $count;
    2. if ( $im = imagecreatetruecolor( $width, $height) )

    like:

    $this->char_length = 6;
    imagecreatetruecolor( 200, 40)

    and add some js:

    jQuery(‘img#captcha’).css(‘width’, 200); jQuery(‘img#captcha’).css(‘height’, 40);

    that’s all, hope this help you

Viewing 1 replies (of 1 total)