2 Replies Latest reply on Nov 29, 2007 5:19 AM by Dan Bracuk


    kt03 Level 1
      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

      <cffunction name="Image" access="public" hint="image resize" returntype="string">

      .cfm file:
      <cfinvoke component="/myroot/mydictory/compnents.img" method="Image">
      <cfinvokeargument name="file_directory" value="#filedirectory#">

      Error: Could not find the ColdFusion Component or Interface img.