diff --git a/public/index.php b/public/index.php index 1aa9b30..13ebe93 100644 --- a/public/index.php +++ b/public/index.php @@ -237,6 +237,7 @@ document.getElementById("background-image").addEventListener("change", function( updateCanvas(this.value); }, false); +/* // When the user clicks on upload a custom picture document.getElementById('custompicture').addEventListener("change", function(e){ var reader = new FileReader(); @@ -262,7 +263,7 @@ document.getElementById("background-image").addEventListener("change", function( reader.readAsDataURL(e.target.files[0]); } }, false); - +*/ // When the user selects a picture that has been added and press the DEL key // The object will be removed ! document.addEventListener("keydown", function(e) { @@ -274,6 +275,7 @@ document.getElementById("background-image").addEventListener("change", function( } }, false); +/* // Export the image function saveImage(e) { this.href = canvas.toDataURL({ @@ -284,7 +286,7 @@ function saveImage(e) { } var imageSaver = document.getElementById('lnkDownload'); imageSaver.addEventListener('click', saveImage, false); - +*/ $( "#montage" ).on("submit",function(e){ var dataURL = canvas.toDataURL(); var div = $("
Upload: %
")