Lucee 5.3.3.62 Error (template)
Message Attribute [class] is not allowed for tag [cfimage]
Detail valid attribute names are [action,angle,passthrough,color,destination,difficulty,fonts,fontsize,format,height,isbase64,name,overwrite,quality,source,structname,text,thickness,width,base64]
Pattern <cfimage [action="string"] [angle="number"] [passthrough="string"] [color="string"] [destination="string"] [difficulty="string"] [fonts="any"] [fontsize="number"] [format="string"] [height="string"] [isbase64="boolean"] [name="string"] [overwrite="boolean"] [quality="number"] [source="any"] [structname="string"] [text="string"] [thickness="number"] [width="string"] [base64="boolean"]>
Documentation Lets you resize and add labels to GIF and JPEG format images.

Optional:
* action (string): Action to execute.
* angle (number): Angle in degrees to rotate the image.
* passthrough (string): HTML attributes that are not explicitly supported by cfimage.
If you specify an attribute and value,
they are passed to the tag "img".
* color (string): Border color. Hexadecimal value or supported named color. For a hexadecimal value, use the form "#xxxxxx" or "xxxxxx", where x = 0-9 or A-F; use two number signs or none.
* destination (string): Absolute or relative pathname where the image output is written.
The image format is determined by the file extension.
The convert and write actions require a destination attribute.
The border, captcha, resize, and rotate actions require a name attribute or a destination attribute.
You can specify both.
If you do not enter a destination,
the CAPTCHA image is placed inline in the HTML output and displayed in the web browser.
* difficulty (string): Level of complexity of the CAPTCHA text.
Specify one of the following levels of text distortion:
low, medium, high
* fonts (any): One or more valid fonts to use for the CAPTCHA text, as an array or as string list (separate multiple fonts with commas).
Lucee supports only the system fonts that the JDK can recognize. For example, TTF fonts in the Windows directory are supported on Windows.
* fontsize (number): font size of the text in the CAPTCHA image.
* format (string): Format of the image displayed in the browser.
If you do not specify a format, the image is displayed in PNG format.
* height (string): Height in pixels of the image.
For the resize attribute, you also can specify the height as a percentage.
When you resize an image, if you specify a value for the width.
* isbase64 (boolean): Specifies whether the source is a Base64 string
* name (string): Name of the image variable to create.
The read action requires a name attribute.
The border, resize, and rotate actions require a name attribute or a destination attribute.
You can specify both.
* overwrite (boolean): If the destination file already exists, Lucee generates an error if the overwrite action is not set to yes.
* quality (number): Quality of the JPEG destination file. Applies only to files with an extension of JPG or JPEG. Valid values are fractions that range from 0 through 1 (the lower the number, the lower the quality).
* source (any): source file
* structname (string): Name of the structure to be created.
* text (string): Text string displayed in the CAPTCHA image. Use capital letters for better readability. Do not include spaces because users cannot detect them in the resulting CAPTCHA image.
* thickness (number): Border thickness in pixels. The border is added to the outside edge of the source image, increasing the image area accordingly.
* width (string): Width in pixels of the image.
* base64 (boolean): should action "writetobrowser" embed the source of the image as base64 encoded string, default is false.
Stacktrace The Error Occurred in
C:\_DOMAINS\fueltool.uk\oil-buying-groups.cfm: line 228
226: <td bgcolor="#FFFFFF"><table cellpadding="0" cellspacing="0" bgcolor="#DFDDDB" class="frmInline">
227: <tr>
228: <td width="6" align="center" valign="bottom" bgcolor="#FFFFFF" class="bdrO"><cfimage class="borderO"
229:
230: action="captcha"

Java Stacktrace lucee.runtime.exp.TemplateException: Attribute [class] is not allowed for tag [cfimage]
  at lucee.transformer.cfml.tag.CFMLTransformer.createTemplateException(CFMLTransformer.java:1272)
  at lucee.transformer.cfml.tag.CFMLTransformer.attributeName(CFMLTransformer.java:1167)
  at lucee.transformer.cfml.tag.CFMLTransformer.attribute(CFMLTransformer.java:1080)
  at lucee.transformer.cfml.tag.CFMLTransformer.attributes(CFMLTransformer.java:961)
  at lucee.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:675)
  at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:376)
  at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:384)
  at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:384)
  at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:384)
  at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:384)
  at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:384)
  at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:384)
  at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:314)
  at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:306)
  at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:162)
  at lucee.runtime.compiler.CFMLCompilerImpl._compile(CFMLCompilerImpl.java:125)
  at lucee.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:76)
  at lucee.runtime.PageSourceImpl._compile(PageSourceImpl.java:402)
  at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:369)
  at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:329)
  at lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:221)
  at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:981)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:903)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:834)
  at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:64)
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2409)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2399)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2374)
  at lucee.runtime.engine.Request.exe(Request.java:43)
  at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1109)
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1055)
  at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
  at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:526)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:394)
  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Unknown Source)
 
Timestamp 3/28/24 4:05:14 PM GMT