Ok, I have followed the example, and this is my new code:
<cfset imagecfc = createObject("component","image")>
<cfset results2 = imageCFC.scaleX("", "/vservers/dir/htdocs/img/ph.jpg",
"/vservers/interech/htdocs/img/ph.jpg", 400)>
However, that hasn't worked either. Am I supposed to invoke a CFC or install
something on the server also? (I have already put image.cfc in my cfc dir)On 7/1/06, Rick Root <[EMAIL PROTECTED]> wrote: > > B V wrote: > > I am trying to use ImageCFC, and I don't get how to use it..... I am > trying > > to get the info on a particular image, and I have tried doing this: > > <cfinvoke component="cfcs.image" returnvariable="myimg" > > method="getImageInfo"> > > <cfinvokeargument name="objImage" value="myimage"> > > <cfinvokeargument name="inputFile" > value="/vservers/dir/htdocs/img/ph.jpg"> > > </cfinvoke> > > <cfdump var="#retVal#"> > > Am I calling this component right, or do I do somethign else, and is it > > possible that somethign else needs to be installed? Thanks for your help > and > > time. > > > > No, you're not instantianting it right. > > Hi, there should be plenty of example code in the distribution. > > The example page has code on how to use it. Lots of examples. > > http://www.opensourcecf.com/imagecfc/example.cfm > > Rick > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245201 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

