From 18899c81f277e4efaccc310e874a77eaaabb8e5b Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Thu, 23 Nov 2023 00:26:47 +0600 Subject: [PATCH] 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. --- config/captcha.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/captcha.php b/config/captcha.php index 162db3d..a640364 100644 --- a/config/captcha.php +++ b/config/captcha.php @@ -28,8 +28,8 @@ return [ ], ], 'image_head' => [ - 'width' => 150, - 'height' => 40, + 'width' => 500, + 'height' => 75, 'text_padding_top' => 5, 'text_padding_left' => 10, 'backgrounds' => [ @@ -86,8 +86,8 @@ return [ 'line_colors' => [], ], 'image_body' => [ - 'width' => 300, - 'height' => 240, + 'width' => 500, + 'height' => 500, 'backgrounds' => [ resource_path('captcha/backgrounds-body/1.jpg'), resource_path('captcha/backgrounds-body/2.jpg'),