Thanks but I think the problem is the page references have changed from my previous system i was on i was using
var base64file2 = $("img#np_track_artwork").attr("src", "data:image/png;base64,"+data);
To get the image base64 for the iage but dont think this working