Issue Type: Improvement Created: 2012-05-18T17:14:09.000+0000 Last Updated: 2012-05-18T17:14:09.000+0000 Status: Open Fix version(s): Reporter: Pete Smith (httpete) Assignee: Stanislav Malyshev (stas) Tags: - Zend_Captcha
Related issues: Attachments:
Zend_Captcha relies on Zend_Captcha_Image which uses imagepng($img, $FILE) to write the image file to disk. Then, this needs to be cleaned up in later in the garbage collection. For large scalable sites, local dirs is a pain and a security threat. This is a perfect case to send the image with the inline /base64 encoding:
We were able to accomplish this by overwriting the generateImage method, but it would have been easier if the generateImage was separate from the writing to the disk. In that way, we could have allowed the base class to generate the image, and then fetch the base64 encoded content for inline embedding instead of writing to disk. Split up that method.
No comments to display
Have you found an issue?
See the Overview section for more details.