ffchen1227 / yii2webuploaders Goto Github PK
View Code? Open in Web Editor NEWyii2 webuploader 上传widget
yii2 webuploader 上传widget
看代码中有一些YII专用语法,没用过不知道功能和作用。
我想参考您这个代码把webuploader用在wordpress上。我面临几个问题:
1、不知道YII语法,不知道如何提取代码。
2、webuploader好像是一图一传,每张图片单独一个请求,上传成功返回的数据,也是对应请求的,一图一个结果。如何能使用数组形式上传,一次请求上传全部图片,并且返回的结果也是合并在一起的?
或者如果不能所有图片合成一个数组上传,那么返回的成功结果,如何全部获取?
3、如何能改造成AJAX方式上传?只要把upload.js中的server网址改成ajax接口就可以么?
我是个新手,提问的问题可能比较模糊。
没找到您的联系方式,希望可以进一步交流。
谢谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.