CodeIgniter Forums
captcha issue in 2.2.4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: captcha issue in 2.2.4 (/showthread.php?tid=64828)



captcha issue in 2.2.4 - balrajo - 03-30-2016

I am using codeignitor 2.2.4 with captcha for my website. Captcha generated by code is of 6 characters. But at times either left or right most char is getting cutdown when captcha image is shown to user, it eventually shows only 5 characters.

Can someone please help on this?


RE: captcha issue in 2.2.4 - arma7x - 03-30-2016

CI v2 has reached end-of-life. Last version is 2.2.6 http://forum.codeigniter.com/thread-63451.html


RE: captcha issue in 2.2.4 - Avenirer - 03-31-2016

(03-30-2016, 07:50 AM)balrajo Wrote: I am using codeignitor 2.2.4 with captcha for my website. Captcha generated by code is of 6 characters. But at times either left or right most char is getting cutdown when captcha image is shown to user, it eventually shows only 5 characters.

Can someone please help on this?

You can avoid that from happening by either making the image width bigger or by changing the font in the configuration array. Don't know if this helps, but I also have a tutorial regarding captcha (http://avenir.ro/codeigniter-create-a-captcha-with-sessions/)