Mibew Messenger Community
General => Support => Topic started by: buddahboy on December 17, 2013, 05:35:52 PM
-
Good day - Having the CAPTCHA feature is great, thanks! That being said, I'm finding that the CAPTCHA image is rather difficult to make out - are there any options to use a different size or style of CAPTCHA?
Thanks much
Ron
-
The geometry and the style of the CAPTCHA image in Mibew Messenger 1.6.x is hardcoded in libs/captcha.php file (in draw_captcha function). So, if you want to change the size of the image or its appearance, you should change it there.
-
thanks again faf - appreciate it
-
The geometry and the style of the CAPTCHA image in Mibew Messenger 1.6.x is hardcoded in libs/captcha.php file (in draw_captcha function). So, if you want to change the size of the image or its appearance, you should change it there.
This only makes the image larger but the font inside is still small. What class control the size of the font?
-
There are no classes in Mibew 1.6.x. Only functions. :-\
Everything related to CAPTCHA is in the libs/captcha.php file. And according to the official PHP documentation (http://jp2.php.net/manual/en/function.imagestring.php) the font size used there is the largest one.
Probably, you can try to use imagettftext (http://jp2.php.net/manual/en/function.imagettftext.php) function instead of imagestring.
-
Thank you. replaced with the line bellow and not its ok. Thank you.
Imagettftext($image, 16, 0, 30, 22, $white, $font, $security_code);