ZF-10495: Background

Issue Type: Bug Created: 2010-09-24T07:52:41.000+0000 Last Updated: 2013-02-12T21:21:02.000+0000 Status: Closed Fix version(s): Reporter: Nicolas Renardet (xenesis) Assignee: Frank Br├╝ckner (frosch) Tags: - Zend_Captcha

Related issues: Attachments:



I had difficulties to understand the startImage function. For mean the goal is to use the background of the placed picture however the picture background will be ever set on white value.

(Ligne 505 $bg_color = imagecolorallocate($img2, 255, 255, 255); de Zend\Captcha\Image.php)

It's not possible to add transparency without use the function imagecolorallocatealpha() or fix this ?

Another problem, the render is set with width and height size (getWidth() et getHeight()). As attributes of classe have default value, if I pass the image the image will be displayed considering the _width and _height values.

It's does make sense to let the width and height dimension to original picture or it could be more efficient to let only by default the SRC picture url instead of use HTML code. Zend can be use like compounment separe display render (html code in a classe..) and the code. (MVC)

A last question, it's not possible to use Zend_Captcha_Word with only digits number or regular expression (using $-^ .. symbols).

Currently it's just possible to chose letters only or mixed charsets (numbers and letters). Can you increase the possibility of Captcha_Word component to let user use default pattern or regular expression? (Like only string, numbers, etc.)

Thanks a lot


Posted by Nicolas Renardet (xenesis) on 2010-09-28T10:56:25.000+0000

Have you some news to fix these problems ?

Posted by Nicolas Renardet (xenesis) on 2010-10-12T14:44:22.000+0000

up.. ?

Posted by Christian Wenz (wenz) on 2012-03-04T17:34:53.000+0000

I think your odds of a developer taking care of things would increase if you posted one issue per item - so that they can be handled individually. Also, questions should better go to the forums. Issues, accompanied by repro code, should be taken care of quick promptly.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.