#77 - example with edit image on page load without clicking. (still need to uncomment line 75 to enable it.)

This commit is contained in:
Vilius 2018-01-06 16:17:38 +02:00
parent 5f7a91d797
commit 0d75cc08a0

View File

@ -67,4 +67,11 @@ function my_update(){
target.height = dim.height;
target.src = tempCanvas.toDataURL();
}
/**
* will auto load image on page load. Uncomment line below to make it work
*/
window.onload = function () {
//open_image(document.getElementById('testImage')); //uncomment me
};
</script>