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:
parent
17fcc6e976
commit
18899c81f2
@ -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'),
|
||||||
|
Loading…
Reference in New Issue
Block a user