anyone use this script before? i want to know is it possible to refresh the image by input the position -x, position -y, width and height for the cropper? i tried to make the buttons to perform resize for example. but the image is not being refreshed…
@dasunliangNov 07.2008 — #You can put the image into span or div. The span or div is overwriten when click a button. Like this: [CODE]<script type="text/javascript"> function showImage(){ var width = document.getElementById('width').value; var height = document.getElementById('height').value; document.getElementById('imgBox').innerHTML = '<img src="../aaa.gif" border=0 width='+width+' height='+height+'>'; } </script> <body> <span id="imgBox"><img src="../aaa.gif" border=0></span> <input type="text" id="width" value=""> <input type="text" id="height" value=""> <input type="button" value="refresh image" onclick="showImage()"> </body>[/CODE]