Wow a busy day already!

I am trying to write a CFC to encapsulate the cfx_imagecr3 tag and for
some reason as soon as I put it in a <cffunction> it craps Jrun out -
nothing doign at all.

<cffunction name="getImageInfo">

        <cfargument name="path" default="">

        <cfset var ImageCR = "">

                <cfx_imagecr3 
getimageinfo="C:\development\localhost\webroot\images
\2ebd811af89d043a39d225df524ad3491.jpg">

        <cfreturn arguments.path />

</cffunction>


<cfset ThisPic="C:\development\localhost\webroot\images
\2ebd811af89d043a39d225df524ad3491.jpg">

<cfoutput>#expandpath(ThisPic)#</cfoutput>

<!--- <cfx_imagecr3 getimageinfo="#ThisPic#">  --->
<cfset ImageCR = getimageinfo("#ThisPic#")>

<cfdump var="#ImageCR#">

<cfabort>

When the cfx_ tag is outside of a function it works like a charm. I am
using cf7 standalone with a developer licence. Have tried on our
licensed dev box too and the same thing happens.

Whats the go here?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to