Diffent designs will use different circuits, you can check the special parameter during the short, you can control these factors then meet. The attached is a sample
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/27/1109832712.jpg');}" onmousewheel="return imgzoom(this);">