• 大小: 0.11M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-30
  • 语言: JavaScript
  • 标签: 上传  文件  

资源简介


资源截图

代码片段和文件信息

# -*- coding: utf-8 -*-
#
# jQuery File Upload Plugin GAE Python Example
# https://github.com/blueimp/jQuery-File-Upload
#
# Copyright 2011 Sebastian Tschan
# https://blueimp.net
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#

from google.appengine.api import memcache images
import json
import os
import re
import urllib
import webapp2

DEBUG=os.environ.get(‘SERVER_SOFTWARE‘ ‘‘).startswith(‘Dev‘)
WEBSITE = ‘https://blueimp.github.io/jQuery-File-Upload/‘
MIN_FILE_SIZE = 1  # bytes
# Max file size is memcache limit (1MB) minus key size minus overhead:
MAX_FILE_SIZE = 999000  # bytes
IMAGE_TYPES = re.compile(‘image/(gif|p?jpeg|(x-)?png)‘)
ACCEPT_FILE_TYPES = IMAGE_TYPES
THUMB_MAX_WIDTH = 80
THUMB_MAX_HEIGHT = 80
THUMB_SUFFIX = ‘.‘+str(THUMB_MAX_WIDTH)+‘x‘+str

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-02-26 11:18  jQuery-File-Upload-master\
     文件          29  2016-02-26 11:18  jQuery-File-Upload-master\.gitignore
     文件        5633  2016-02-26 11:18  jQuery-File-Upload-master\.jshintrc
     文件         586  2016-02-26 11:18  jQuery-File-Upload-master\CONTRIBUTING.md
     文件         998  2016-02-26 11:18  jQuery-File-Upload-master\Gruntfile.js
     文件        7138  2016-02-26 11:18  jQuery-File-Upload-master\README.md
     文件       12527  2016-02-26 11:18  jQuery-File-Upload-master\angularjs.html
     文件       10623  2016-02-26 11:18  jQuery-File-Upload-master\basic-plus.html
     文件        6666  2016-02-26 11:18  jQuery-File-Upload-master\basic.html
     文件        1333  2016-02-26 11:18  jQuery-File-Upload-master\bower.json
     目录           0  2016-02-26 11:18  jQuery-File-Upload-master\cors\
     文件        2044  2016-02-26 11:18  jQuery-File-Upload-master\cors\postmessage.html
     文件         531  2016-02-26 11:18  jQuery-File-Upload-master\cors\result.html
     目录           0  2016-02-26 11:18  jQuery-File-Upload-master\css\
     文件         390  2016-02-26 11:18  jQuery-File-Upload-master\css\demo-ie8.css
     文件        1118  2016-02-26 11:18  jQuery-File-Upload-master\css\demo.css
     文件         425  2016-02-26 11:18  jQuery-File-Upload-master\css\jquery.fileupload-noscript.css
     文件         365  2016-02-26 11:18  jQuery-File-Upload-master\css\jquery.fileupload-ui-noscript.css
     文件        1096  2016-02-26 11:18  jQuery-File-Upload-master\css\jquery.fileupload-ui.css
     文件         685  2016-02-26 11:18  jQuery-File-Upload-master\css\jquery.fileupload.css
     文件         288  2016-02-26 11:18  jQuery-File-Upload-master\css\style.css
     目录           0  2016-02-26 11:18  jQuery-File-Upload-master\img\
     文件        3897  2016-02-26 11:18  jQuery-File-Upload-master\img\loading.gif
     文件        3323  2016-02-26 11:18  jQuery-File-Upload-master\img\progressbar.gif
     文件       13074  2016-02-26 11:18  jQuery-File-Upload-master\index.html
     文件       12049  2016-02-26 11:18  jQuery-File-Upload-master\jquery-ui.html
     目录           0  2016-02-26 11:18  jQuery-File-Upload-master\js\
     文件        3581  2016-02-26 11:18  jQuery-File-Upload-master\js\app.js
     目录           0  2016-02-26 11:18  jQuery-File-Upload-master\js\cors\
     文件        4102  2016-02-26 11:18  jQuery-File-Upload-master\js\cors\jquery.postmessage-transport.js
     文件        3416  2016-02-26 11:18  jQuery-File-Upload-master\js\cors\jquery.xdr-transport.js
............此处省略37个文件信息

评论

共有 条评论