Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下,如何移植到wordpress? #1

Open
xkungfu opened this issue Aug 4, 2017 · 0 comments
Open

请教一下,如何移植到wordpress? #1

xkungfu opened this issue Aug 4, 2017 · 0 comments

Comments

@xkungfu
Copy link

xkungfu commented Aug 4, 2017

看代码中有一些YII专用语法,没用过不知道功能和作用。
我想参考您这个代码把webuploader用在wordpress上。我面临几个问题:
1、不知道YII语法,不知道如何提取代码。
2、webuploader好像是一图一传,每张图片单独一个请求,上传成功返回的数据,也是对应请求的,一图一个结果。如何能使用数组形式上传,一次请求上传全部图片,并且返回的结果也是合并在一起的?
或者如果不能所有图片合成一个数组上传,那么返回的成功结果,如何全部获取?
3、如何能改造成AJAX方式上传?只要把upload.js中的server网址改成ajax接口就可以么?
我是个新手,提问的问题可能比较模糊。
没找到您的联系方式,希望可以进一步交流。
谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant