I created the folder called components to stored all the cfc
files there but I don't know the syntax to call the component from
the diffrent directory.
Here what I have but it didn't work
compnents/img.cfc
<cfcomponent>
<cffunction name="Image" access="public" hint="image
resize" returntype="string">
.......
</cffunction>
</cfcomponent>
.cfm file:
<cfinvoke component="/myroot/mydictory/compnents.img"
method="Image">
<cfinvokeargument name="file_directory"
value="#filedirectory#">
</cfinvoke>
Error: Could not find the ColdFusion Component or Interface
img.
thanks