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

Difference between 2.x and 3.x? Missing "multipart_params" with upload. #1574

Open
Daijobou opened this issue Jun 16, 2018 · 5 comments
Open

Comments

@Daijobou
Copy link

Daijobou commented Jun 16, 2018

New version 3.1.2 is not a out-of-the-box replacement for my older version 2.2.1. Its look like this setting not work anymore? With upload 2.2.1 I can see "multipart_params" in Header, in 3.2.1 this is complete missing.

uploader = new plupload.Uploader({
    runtimes : 'html5,html4',
    browse_button : 'upload',
	url: 'ajax/upload/image',
    max_file_size : '1mb',
    multi_selection: false,
    filters : {
        mime_types: [{title : 'Image files', extensions : 'jpg,jpeg,gif,png'}]
    },
init: {
    BeforeUpload: function(up, files)
	{
 	    up.settings.multipart_params =
 	    {
			uname: username,

Is here a file/doc that show the differences and what to do or is this a issue in 3.1.2?

EDIT: In 3.x its marked as "deprecated"

multipart_params: {}, // deprecated, use - params,

@cocochepeau
Copy link

Just use params instead?

@ptraversy
Copy link

tried that - doesn't work

@khanzadimahdi
Copy link

version v3.1.2 , currently doesn't have all features of 2.3.6 .
its better to use 2.3.6 in projects (it is stable and The latest the greatest)

@cocochepeau
Copy link

cocochepeau commented Sep 17, 2018

OK. Indeed, that's what I'm currently doing btw. I had other issues related to 3.x.

Is Plupload still a living project?

@khanzadimahdi
Copy link

i think its better to use dropzone or jquery file upload.

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

4 participants