Hi have the following function
function renderBusinessCard($details){ //Getting the template for the business card $filename = Templates::mod
You need to render the image in a separate resource. There is no good way of adding the image data inside the HTML document. (Anybody thinking of recommending data: URIs: It's a terrible idea.)
data: