I try to use cfthread, but resizing is not working.
Where my error?
<cfloop index="i" from="1" to="#ArrayLen(fr)#"
step="1">
<cfthread action="run" name="#i#">
<cfset
myImage=ImageNew("#Application.site#/img/albums/temp/#fr
['to']#")>
<cfset info=ImageInfo(myImage)>
<cfif info.width gt "50">
<cfset ImageResize(myImage,"50","")>
</cfif>
<cfimage source="#myImage#" action="write"
destination="#Application.site#/img/albums/1/a.#aid#/#fr['to']#"
overwrite="yes">
</cfthread>
</loop>