2 Replies Latest reply on Nov 27, 2013 3:44 AM by Laurence MacNeill

    cfimage won't load image from a URL

    Laurence MacNeill Level 1

      So I have a URL as a string in a variable and I'm trying the following:


      <cfimage action="read" name="myImage" source"#myUrlString#">


      And I get the following error:

      faultCode:Server.Processing faultString:'Unable to invoke CFC - An exception occurred while trying to read the image.' faultDetail:'File C:\Inetpub\wwwroot\my\cfc\path\"https:\my.domain.com\imagefile.jpg" does not exist.'


      Clearly it's prepending the path to the .cfc file onto the URL String.  How do I get cfimage to just load the image from the URL without it trying to prepend the .cfc file's path onto it?


      (I've also tried ImageRead and ImageNew with exactly the same results).



      Laurence MacNeill

      Mableton, Georgia, USA