Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.2

Bug #20083 img tag (Image captcha) missing height and width
Submitted: 2013-10-04 21:24 UTC
From: jonez Assigned: cweiske
Status: Closed Package: HTML_QuickForm2_Captcha (version 0.1.0)
PHP Version: Irrelevant OS: centos
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 3 + 17 = ?

 
 [2013-10-04 21:24 UTC] jonez (Jeff MacDonald)
Description: ------------ The "img" tag generated by html_quickform2_captcha sets the "height" and "width" attributes to zero, when it should be using values from $options. This might be because qf2_c is accessing _height and _width which are marked "private" in the docblock. using 0.5.0 beta of text_captcha. Expected result: ---------------- "height" and "width" attributes need to be set to whatever is passed in via $options Actual result: -------------- "height" and "width" attributes of the img tag are explicitly set to 0 in the html

Comments

 [2013-10-11 01:34 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Fixed in git. Will be in the next version.