Hi. I am trying to incorporate the service into my website.
I need to download the image that is generated, but I do not know how. I do not know how to get the url.
BODY:
<div id = "Div_contain_image"> <img uml = <% = textAProcess%>> </ div>
<a href="#" onclick="prepHref(this)" download> See link </a>
JS:
<script type = "text / javascript">
function prepHref (linkElement) {
var myDiv = document.getElementById ('Div_contain_image');
var myImage = myDiv.children [0];
linkElement.href = myImage.src;
}
</ script>