<tr><cfoutput query="myDirectory" maxrows="1">
<td align="center"><a href="#Name#">
<cfimage source="#Name#" name="Name1">
<cfset ImageScaleToFit(Name,200,"")><!--- ---><img src="#Name#" /><br />#Name#</a></td>
<cfif myDirectory.currentRow MOD 3 EQ 0>
</tr>
<tr>
</cfif></cfoutput>
Whenever I try the code above I get the following error "
Unable to cast an object of type java.lang.String to Image. |
"
How can I use this tag and resize images that are stored in the variable Name and get them to display correctly? HELP!