Jump to content

How to increase size of Captcha Image?


paperweight

Recommended Posts

We need to increase the size of the captcha image because it shows very small especially on mobile devices. Every WHMCS Website In The World That Uses Captcha Has This Same Problem!

 

We solved it a little this way by increasing the size of the image:

<img src="includes/verifyimage.php" height="70" width="180" />

But the problem with the code above is that the image then becomes blurry. So we need a method to increase the size of the image or captcha text without making the visibility of the image poor. Any ideas?

Link to comment
Share on other sites

use ReCaptcha instead of the default Captcha, verifyimage.php file is encoded so you have no chance to modify generated file size from it.

 

- - - Updated - - -

 

another solution if you need to use the default Captcha is to only specify IMG width, and let browser set the appropriate height for it

Link to comment
Share on other sites

use ReCaptcha instead of the default Captcha, verifyimage.php file is encoded so you have no chance to modify generated file size from it.

 

- - - Updated - - -

 

another solution if you need to use the default Captcha is to only specify IMG width, and let browser set the appropriate height for it

 

Thanks for your ideas. ReCaptcha is not possible to use since many of our clients re in China, and ReCaptcha (which is run by Google) is often blocked and not usable by users in China.

 

Yes I tried the IMG width setting, but it's still blurry when the browser sets the height.

 

I'm sure there is a way to make changes if it was unencoded. Or maybe build a plugin that adjusts that? Can the developers at WHMCS open that up to be used?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated