Friday, February 6, 2015

Create image in CF & write to browser without saving to file ( AJAX POC )

Here is the cool thing! You can copy the code and paste it into and run it!

This is a Proof Of Concept that an AJAX call from a page can create an image in a ColdFusion component, convert the image to base64 send it back to the calling page as JSON data and render the image from the base64 data.

UPDATE! This works in my code. I hope to be submitting more code in the next week.

1 comment:

Rich said...

Frack yeah! It works with AJAX!