javascript:
var c=rich_postor._getData();
var width;
var height;
oFileChecker=document.createElement("img");
oFileChecker.src = prompt('请输入图片地址','');
oFileChecker.onload = function (){
width = oFileChecker.width;
height = oFileChecker.height;
width = prompt('检测到图片宽度为'+ width +'px,如需修改\n请输入图片大小',width);
height = prompt('检测到图片长度为'+ height+'px,如需修改\n请输入图片大小',height);
whole = '</span><img%20unselectable="on"%20pic_type=""%20class="BDE_Smiley"%20src="%20'+ oFileChecker.src +%20'"%20height="'+height%20+%20'"%20width="'+%20width%20+'">%20';
c.content= whole;
PostHandler.post(rich_postor._option.url,c,function(I){rich_postor.showAddResult (I)},function(I){});};void 0
————Mozilla/5.0 (Windows NT 6.1; rv:20.0) Gecko/20100101 Firefox/20.0