Recaptcha fixed image size

ken picture ken · Aug 2, 2010 · Viewed 12.6k times · Source

Why is recaptcha image fixed in size 300x57 ? Even when customizing the div where the image is injected, the width and height of the div are overridden and set to 300x57. Of course the image can be re-sized after it's rendered, but why there are no options to generate the image the size developers would like it to be.

http://code.google.com/apis/recaptcha/docs/customization.html

reCAPTCHA will rely on the presence of HTML elements with the following IDs to display the CAPTCHA to the user: An empty div with ID recaptcha_image. This is where the actual image will be placed. The div will be 300x57 pixels

Thank you

Answer

Larry Cinnabar picture Larry Cinnabar · Apr 21, 2011
#recaptcha_image img {
    width: 200px !important;
    height: 38px !important;
}