Open chiliec opened 9 years ago
I mean may be you knows how to use it on dark background, like that:
Official captcha is non-transparent, just white background:
got it
Hey mdmunir, I also want to use this on a dark template. I noticed if I change the protected function renderImage to output jpeg instead of png (imagejpeg), the background is white. How can I extend your CaptchaAction? I tried to override the function, but for some reason doesn't work. Is it because the function is protected?
I found a workaround for now. In the view, I changed the template by setting the background to white:
'template' => '<span style="background-color: white">{image}</span><div class="col-xs-5 pull-right">{input}</div>',
Now it shows OK:
@dantux
I tried to override the function, but for some reason doesn't work. Is it because the function is protected?
Are you sure. Its should be OK.
What is dark templates? Simple answer. it used like a official captcha.