i created simple drag , drop, real aim here save/export/download final result image/jpg/png how possible?
drawing.php
<div id="picture1"> <img src="images/icon1.png"> </div> <div id="picture2"> <img src="images/icon2.png"> </div> <div id="dropme"> <img src="images/plan1.jpg"> </div> <style> #dropme{ height: auto; } #dropme img{ width:80%; max-width: 100%; } #picture1{ width: 159px; height: 80px; } #picture2{ width: 80px; height: 79px; } </style> </div> </div>
java.js
$(document).ready(function() { $('#picture1, #picture2').draggable({ containment:'document'}); $('#dropme').droppable({ drop:function(){ }}); });
so, want know how can export final result image