Topic: setoption(resize) issue

hello
first of all, thanks for a great uploader!

v1 of my uploader is working very well, resizing and uploading multiple files and saving them to a database.

in v2, i want users to be able to select from a number of resize options, rather than the resize being defined prior to initialising the uploader.

i have tried the following...
init:function() {
      BeforeUpload: function(up) {
           //do stuff to establish the ht and wd varriables - all ok
        up.setOption('resize', {width:csz,height:hsz});
    }
}
**********************************************
init:function() {
      FilesAdded: function(up,file) {
           //do stuff to establish the ht and wd varriables - all ok
        up.setOption('resize', {width:csz,height:hsz});
    }
}
**********************************************
preinit:function() {
      Init: function(up) {
           //do stuff to establish the ht and wd varriables - all ok
        up.setOption('resize', {width:csz,height:hsz});
    }
}

**********************************************
i have also tried binding the set option to the resizing selection change event.

when ever i include the setoption() code, resizing does not work. as soon as i comment out the setoption() line, it works on the intitial resize settings.

can anyone advise what i might be doing wrong, or is there a bug in the system?

cheers

rs

Re: setoption(resize) issue

although i have not been able to solve this issue, i have been able to overcome the problem by reloading the uploader via ajax on the resize onChange event.

i pass the new resize dimensions into the reloaded uploader and it seems to work ok.

of course it would be better if setOption() would work for resize.

Re: setoption(resize) issue

Had the same problem. this seems to work.
var up = $('#uploader').plupload('getUploader');
up.settings.resize.width = 960;
up.settings.resize.height = 720;
up.settings.resize.quality = 60;

Re: setoption(resize) issue

thanks for that - i will give it a try.
the current solution is working fine, but it is always good to have other options
rs

Re: setoption(resize) issue

It's working fine for me too.