Succeeded with image loading
Updates for the past four days: I explored base64 encoding of strings using Javascript and Java. I wrote code for both using Java on the back end and Javascript for the front end. My ultimate aim was to save a snap shot of a given analysis query as a property in the database and retrieve the snapshots as and when desired to get an idea of what a query looks like. But ultimately part of my package uses Actionscript 3.0 and i ended up doing the string encoding in that. And i store the Base64 string in the database. I dont know if this is the best practice of storing images bur will need to do more research for that. Below is a snapshot of what i achieved. It is a rough prototype and not the final UI.