图片上传预览,基于JavaScript

JavaScript的图片上传预览(image-upload-preview)。程序写的很棒,值得认真研究。

经测试,兼容IE6 , IE7, IE8 , Firefox 3。

作者: Hedger Wang
个人BOLG: http://blog.hedgerwow.com/

This script is intended for forms where the user needs to upload an image to a Web site.

The image is displayed on the page for previewing before uploading. The display will be resized if needed so as not to break the page layout. Valid file types are set in the script; others will be disallowed.

image-upload-preview

live demo : http://hedgerwow.appspot.com/image-upload-preview/demo.html

download source : http://code.google.com/p/image-upload-preview/source/browse/#svn/trunk

站点统计