Skip to main content
April 3, 2008
Question

Base64 to Image

  • April 3, 2008
  • 2 replies
  • 2515 views
Hello,

I was hoping someone could tell me how to decode a base64 string into an actual image. I have not used this before so actually have no idea how it performs... I've tried ImageReadBase64() but it says variable ImageReadBase64 is not defined. Any help in this would be great.

JC
This topic has been closed for replies.

2 replies

April 4, 2008
You hit the nail on the head... I got creative with naming but all in all works like a charm!! Thank you!
Inspiring
April 3, 2008
Reign Supreme wrote:
> it says variable ImageReadBase64
> is not defined. Any help in this would be great.
>
> JC
>

Install ColdFusion 8. That is a new function in CF8. The error message
"is not defined" on a function indicates that the function does not
exist in your version of ColdFusion. So my first advice is to upgrade
or look for another solution.

Sorry can't help beyond this.

April 3, 2008
Is there a work around in CF 7??? I can't afford to upgrade to 8 right now.