I am using the cfimage tag with action="captcha" and text="someText". SomeText is replaced with a random string between 4 & 7 characters. Sometimes when the captcha is displayed it doesn't show all the characters that was passed in the text argument. For testing I display the text that is passed into the cfimage tage above the captcha box so I know what should be displayed. I also tried putting in static text like the word test and there were times it didn't display all 4 letters.
I am using Coldfusion 11
What are the width and height dimensions that you are setting for the image? There might be a minimum width/height in order to display all the letters.
400 & 100
<cfimage action="captcha" text="test" width="400" height="100" difficulty ="low">
Hmmm.. that _should_ be large enough..
I should have asked this in my first response, but didn't think of it until now: Could you please post two or three screencaps of when it isn't doing what you think it should do?
In this case I am passing in H9JPB and it isn't displaying the "J"
In this case it actually displayed the wrong letter. It should be AD738 but it dplayed 0D738. The 0 or o isn't even an option as one of the possible characters
in this case it isn't showing the "N"
That's a head-scratcher, for sure. I can't think of anything, off the top of my head, that would cause that to happen. Especially displaying "0" when it should be an "A".