Not getting actual image path

Permalink
In my custom addon i have added an editor with add image functionality. It is working fine but when i am fetchin the content it is coming as <p><img src="{CCM:FID_24}" alt="image-sample.jpg" width="350" height="315" /></p> . Now how can i get the actual image path or image source from this. Need help.
Thanks @pluto.

Pluto