Increase captcha image dimensions

The dimensions for both the 'image_head' and 'image_body' captcha images have been increased to provide a clearer and more readable captcha for users. 'Image_head' has been updated from 150x40 to 500x75, and 'image_body' from 300x240 to 500x500.
This commit is contained in:
Leonid Nikitin 2023-11-23 00:26:47 +06:00
parent 17fcc6e976
commit 18899c81f2
Signed by: kor-elf
GPG Key ID: 604A019EB118CAC4

View File

@ -28,8 +28,8 @@ return [
], ],
], ],
'image_head' => [ 'image_head' => [
'width' => 150, 'width' => 500,
'height' => 40, 'height' => 75,
'text_padding_top' => 5, 'text_padding_top' => 5,
'text_padding_left' => 10, 'text_padding_left' => 10,
'backgrounds' => [ 'backgrounds' => [
@ -86,8 +86,8 @@ return [
'line_colors' => [], 'line_colors' => [],
], ],
'image_body' => [ 'image_body' => [
'width' => 300, 'width' => 500,
'height' => 240, 'height' => 500,
'backgrounds' => [ 'backgrounds' => [
resource_path('captcha/backgrounds-body/1.jpg'), resource_path('captcha/backgrounds-body/1.jpg'),
resource_path('captcha/backgrounds-body/2.jpg'), resource_path('captcha/backgrounds-body/2.jpg'),