jQuery File Upload 图片上传解决方案兼容IE6+

2021-07-14 11:05

阅读:548

YPE HTML>

标签:3.2   abs   wiki   any   addclass   header   maximum   mat   lin   

1.下载:https://github.com/blueimp/jQuery-File-Upload

2.命令:

npm install 

bower install

======================

3.修改basic.html 如下:

1.cdn 静态引用修改

2.ajax提交路径修改

====&&& 其他demo页面修改同理 =======;

下面修改完了以后。如下所示:








jQuery File Upload Demo - Basic version












   

jQuery File Upload Demo


   

Basic version


   
   

   

       

File Upload widget with multiple file selection, drag&drop support and progress bar for jQuery.

        Supports cross-domain, chunked and resumable file uploads.

        Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.


   

   

   
   
       
        Select files...
       
       
   

   

   

   
   

       

   

   
   

   

   

       

           

Demo Notes


       

       

           

                   
  • The maximum file size for uploads in this demo is 999 KB (default file size is unlimited).

  •                
  • Only image files (JPG, GIF, PNG) are allowed in this demo (by default there is no file type restriction).

  •                
  • Uploaded files will be deleted automatically after 5 minutes or less (demo files are stored in memory).

  •                
  • You can drag & drop files from your desktop on this webpage (see Browser support).

  •                
  • Please refer to the project website and documentation for more information.

  •                
  • Built with the Bootstrap CSS framework and Icons from Glyphicons.

  •            

       

   














4.服务跑起来:(需要点服务器知识)

技术分享

 

5.完成上传;技术分享

 

其他演示:https://blueimp.github.io/jQuery-File-Upload/jquery-ui.html  (官网提供静态展示)

jQuery File Upload 图片上传解决方案兼容IE6+

标签:3.2   abs   wiki   any   addclass   header   maximum   mat   lin   

原文地址:http://www.cnblogs.com/q1104460935/p/7076363.html


评论


亲,登录后才可以留言!