首先下载 drawimage.js
导入JS
<script type="text/javascript" src="Js/drawimage.js"></script>
//调用 οnlοad="DrawImage(this, '宽度', '高度');"
<img id="img_UploadPicture" src="" οnlοad="DrawImage(this, '269', '269');" />
首先下载 drawimage.js
导入JS
<script type="text/javascript" src="Js/drawimage.js"></script>
//调用 οnlοad="DrawImage(this, '宽度', '高度');"
<img id="img_UploadPicture" src="" οnlοad="DrawImage(this, '269', '269');" />