You do not need any special install, that is the great thing about imageCFC or Alagad image component (which isn't free but is quite good). Lastly, com.image is just the file location of imageCFC from the root of my site (/com/image.cfc). You can change this to whatever directory you have imageCFC in.
- Brian Rinaldi blog - http://www.remotesynthesis.com/blog CF Open Source List - http://www.remotesynthesis.com/cfopensourcelist Boston CFUG - http://www.bostoncfug.org On 7/1/06, B V <[EMAIL PROTECTED]> wrote: > > Ok, this really clears thigns up, however I just have two questions: > 1). Is some special installation required to access the methods of the > component liek shown > 2). Do you have to call the component (cfinvoke), or can you just call it > by > <cfset imageCFC = createObject("component","com.image") />, and also is > com.image predefined? > > On 7/1/06, James Holmes <[EMAIL PROTECTED]> wrote: > > > > OK, so what (doesn't) happen(s)? > > > > On 7/1/06, B V <[EMAIL PROTECTED]> wrote: > > > That's partly the problem; There is NO error message.... I thought > maybe > > it > > > could be paths, but I checked paths and set the dir to 777 file > > permissions > > > (I'm on LNX) > > > > > > On 7/1/06, James Holmes <[EMAIL PROTECTED]> wrote: > > > > > > > > Can you post the specific error message? > > > > > > > > On 7/1/06, B V <[EMAIL PROTECTED]> wrote: > > > > > 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) > > > > > > > > -- > > > > CFAJAX docs and other useful articles: > > > > http://jr-holmes.coldfusionjournal.com/ > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245209 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

