Creating a simple captcha using the CFIMAGE tag in ColdFusion

The following example shows how you can create a simple captcha image using the <CFIMAGE> tag in ColdFusion and setting the action attribute to “captcha”.

<cfimage action="captcha" text="The quick brown fox" />

And the output of the <CFIMAGE> tag is as follows:

Leave a Reply

Your email address will not be published.