How to change configuration of Captcha in CodeIgniter | Change Font Size, Image Width, Word Length

preview_player
Показать описание
In this video, you will be able to create your own custom captcha by changing the default configuration option of captcha helper in CodeIgniter.

You can change image width by changing img_width value
For height, you can change img_height value
This two will change the captcha image height and width

After that you can change word_length for the length of your captcha word.
You want 5 letter or 6 in your captcha.

pool - pass your generated word in this. By default alpha numeric captcha it will take.

colors - styling of the captcha
grid - red white lines you see in captcha , you can pass rgb of your choice
text - changing text color of captcha
border- gives border to the captcha image, define color of border
background - gives background to captcha, change rgb coordinates for your preferred color

font_size - by default 16. Change the font size of the captcha text
you can find this file in your system/fonts folder

then your font size will work you pass 20 or 25.

How to change configuration of Captcha in CodeIgniter | Change Font Size, Image Width, Word Length
#captcha #codeigniter #knowledgethrusters
Рекомендации по теме
Комментарии
Автор

Good job, i was wondering to increase the font size and font-family. Your video helped me a lot.
Keep growing 👍🏻😊

jaidhillon