如何使图像上传者像Wordpress? [英] How to make image uploader like Wordpress?
问题描述
我想实现类似于最新Wordpress提供的图像上传器(3.2.2写入时)。不过,我在为不支持多个文件上传,拖放功能等浏览器添加后备程序时遇到困难。
I would like to implement an image uploader similar to what the latest Wordpress offers (3.2.2 at time of writing). However I am struggling in adding the fallbacks for browsers which don't support multiple file uploads, drag and drop functionality and so on.
理想情况下,我希望此功能无需工作每次刷新页面。
我已经做了很多谷歌搜索,但是我似乎找到的所有东西只能在几个特定的浏览器中使用。
Ideally I want this functionality to work without having to refresh the page each time. I've done lots of Googling but everything I seem to find only works in a few specific browsers.
任何人都可以推荐任何允许这样的上传功能?
Can anyone recommend any open source projects which allows for such upload functionality?
推荐答案
HTML5和JQuery中有许多像上传者这样的wordpress,就像:
There are many wordpress like uploader in HTML5 and JQuery just like:
- 响应式FileManager 是一个免费的开源文件管理器和图像管理器,使用jQuery库,CSS3,PHP和HTML5,提供了一种漂亮优雅的方式来上传和插入文件,图像和视频。
- Responsive FileManager is a free open-source file manager and image manager made with the jQuery library, CSS3, PHP and HTML5 that offers a nice and elegant way to upload and insert files, images and videos.
http://www.responsivefilemanager.com/demo.php
- elFinder
基本文件管理器
- jQuery文件树
一个用于jQuery的可配置的AJAX文件浏览器插件。您可以创建一个自定义的,完全交互的文件树,只需一行JavaScript代码。
A configurable, AJAX file browser plugin for jQuery. You can create a customized, fully-interactive file tree with as little as one line of JavaScript code.
< Moxiemanager ...惊人而不是免费
另一个惊人的工具是 Moxiemanager 你可以找到所有的
Another Amazing Tool is Moxiemanager you can find all
- 我最好的选择是使用非常简单的文件管理器<一个href =http://elfinder.org/ =nofollow> elFinder 在任何形式的文件输入工作,这个优秀的演示在这里解释:
- My Best Option is using the very easy file manager elFinder with work around in any form file input as this excellent demo explained here:
http:// www-you。 com / en / integratsiya-na-elfinder /
您对.rar DEMO感兴趣,可以下载我在这里演示:
and your interested for .rar DEMO you can download full demo here:
这篇关于如何使图像上传者像Wordpress?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!