hi rick,

i am just trying out your component and have setup the following...

<cfif isDefined("FORM.image")>
        <cfset imagecfc = 
createObject("component","#Request.app.cfcRoot#.image")> 
        <cfset new_image = imageCFC.scaleX("", "#FORM.image#", "C:\Documents 
and Settings\Craig\Desktop\resized.jpg", 100)>
</cfif>

<form action="test.cfm" method="post" enctype="multipart/form-data">
        <input type="file" name="image">
        <input type="submit" name="submit" value="Submit">
</form>

what am i doing wrong as it does not seem to be working?

mike

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231509
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to