Printing <img> to ColdFusion web app client from server side JSON
Posted on 2012-12-26
I'm working with ColdFusion 9 and JQuery datatables.
I'm using the JQuery databasles server side data capability to page through large datasets. I want to display images in one the fields of the dataset. My images reside outside the webroot for security reasons.
How can I pull the image from the location on the server drive to display in the table. I know I could use cfimage except for the data be returned to the client is JSON.
Is there a way to temporarily load the image in the browser memory so that the img tag can access it?