I totally agree with you! So I will try to leave here a step by step procedure to change the captcha
first step go to: /components/com_facileforms/images/captcha/secureimage_show.php
at the end of the page you will find the following:
//Change some settings
$img->image_width = 155;
$img->image_height = 28;
$img->perturbation = 0.1; // 1.0 = high distortion, higher numbers = more distortion
$img->image_bg_color = new Securimage_Color(0xe0, 0xe0, 0xe0); // e0e0e0
$img->text_color = new Securimage_Color(0xff, 0x00, 0x00);
$img->text_transparency_percentage = 100; // 100 = completely transparent
$img->num_lines = 0;
$img->code_length = 3;
$img->line_color = new Securimage_Color(0x08, 0xbf, 0xff);
$img->signature_color = new Securimage_Color(rand(0, 64), rand(64, 128), rand(128, 255));
$img->image_type = SI_IMAGE_PNG;
/// set to true if no TTF support
$img->use_gd_font = true;
$img->gd_font_file = JPATH_SITE . '/components/com_facileforms/images/captcha/gdfonts/automatic.gdf';
//////////////////
if($img->use_gd_font)
{
$img->text_color = '#053a48';
}
$img->show(''); // alternate use: $img->show('/path/to/background_image.jpg');
First of all you can compare the code above with the original and you can see the differences at the following address:
mediterraneandreamweddings.com/joomla/contact.html
As you can see I changed the dimensions of image from 250x80 to 155x55, it was to big and ugly!
I also reduce pertubation to the ninimum, my costumers don't need to fight to an obstacle to send me an email and robots that do not read automatically the prior captcha, won't read this too.
I didn't like the background color as well and then I picked the same color of the menu bar of the site and changed it to e0e0e0 I divided it in 3 pieces: e0 e0 e0 and did the following: 0x + e0 = 0xe0 as you can see I substituted them and the result was: new Securimage_Color(0xe0, 0xe0, 0xe0)
I didn't like the font, so I turned into "true" the following line: $img->use_gd_font = true;
and then I uploaded a new font (automatic.gdf to the gdfont folder and changed the font in the current file to automatic.gdf . I preferred this font as easier and less difficult to read
I also reduced from 8 to 0 the number of blue lines
and reduced from 5 to 3 the number of letters, I think 3 are enough!
Well, I don't remember if I did something else but think is quite clear you can change the captcha in minutes once you know how.
Hope this can help for future users!
Toñito