Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By mlseim

Thread: How do I resize Recaptcha width on a PHP enquiry form please?

  1. #1
    Regular Coder
    Join Date
    Nov 2003
    Location
    Bloomsbury, London
    Posts
    106
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question How do I resize Recaptcha width on a PHP enquiry form please?

    I've installed Recaptcha on a website here

    As you can see, the width is messing up the enquiry form and the whole look of the site.

    What can I do to reduce the width please?

    I've tried several different things (such as reducing the width tag in the code below), but nothing works.

    The code I added to my form, just above the submit button, is:

    <script type="text/javascript"
    src="http://www.google.com/recaptcha/api/...eaBYhkdidx0Ayg">
    </script>
    <noscript>
    <iframe src="http://www.google.com/recaptcha/api/...eaBYhkdidx0Ayg"
    height="300" width="500" frameborder="0"></iframe><br>
    <textarea name="recaptcha_challenge_field" rows="3" cols="30">
    </textarea>
    <input type="hidden" name="recaptcha_response_field"
    value="manual_challenge">
    </noscript>


    Thank you very much for your help.
    Domain Exhibit - premium domain names and websites with significant traffic | quote Coding Forums for additional 15% discount!
    Coding Freebies - free scripts and software worth hundreds of dollars

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,503
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    Look at the section on this site ... "Custom Theming"

    https://developers.google.com/recapt...Custom_Theming

    You'll need to actually do a "full customize".
    Last edited by mlseim; 06-14-2014 at 02:12 AM.
    Azam.net likes this.

  • #3
    Regular Coder
    Join Date
    Nov 2003
    Location
    Bloomsbury, London
    Posts
    106
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks a lot.

    I've now installed a customisable version of the captcha and custom themed it. Looks a lot better now.

    However, I'm getting complaints that the captcha image is too small to decipher the text. Is fine on the PCs I've tested it on. Is the captcha image too small in your opinion too please?
    Domain Exhibit - premium domain names and websites with significant traffic | quote Coding Forums for additional 15% discount!
    Coding Freebies - free scripts and software worth hundreds of dollars

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,503
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    I needed to use the refresh button to give me a different image. Even if I zoom in, the image I got was fuzzy. It was an address on the outside of a building. So it's really not your fault, it's the images they provide... the don't use the best photos.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •