confused_elf has asked for the wisdom of the Perl Monks concerning the following question:
I've been having problems with Catalyst::Plugin::Captcha, I've read the manual over and over again but can't seem to get it working.
It does produce an image to my registration page, but the image is all black. I've been digging through the internet looking for some documentations and everything but there isn't any.
Do you know what might cause this?. below is my configuration, captcha method and html file.this is in Root.pm.__PACKAGE__->config->{captcha} = { session_name => 'captcha_string', new => { width => 80, height => 30, lines => 1, gd_font => 'giant', }, create => [qw/normal rect/], particle => [100], out => {force => 'jpeg'} };
I called it like this in my html file.sub captcha : Local { my ($self, $c) = @_; $c->create_captcha(); }
It always produces a black image, I'm confused on what causes this.<img src="/captcha">
Thank you for the help in advance, I appreciate it.
-confused elf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Catalyst::Plugin::Captcha questions
by Anonymous Monk on Jul 12, 2008 at 08:17 UTC | |
by confused_elf (Novice) on Jul 12, 2008 at 09:36 UTC | |
by jethro (Monsignor) on Jul 12, 2008 at 12:07 UTC | |
by confused_elf (Novice) on Jul 18, 2008 at 06:56 UTC | |
by Anonymous Monk on Jul 18, 2008 at 07:58 UTC | |
|
Re: Catalyst::Plugin::Captcha questions
by Burak (Chaplain) on Jul 18, 2008 at 08:13 UTC |