I've put this in the configuration file as written in the documentation:
'jumploader' => array(
'class' => 'ext.jumploader.jumploader',
),

in my view files i put this code:

<?php
$this->widget('ext.jumploader.jumploaderwidget', array(
'uploadUrlAction' => $this->createUrl('controllerID/actionID'), // The uploader action that will handle the uploaded files, each file will send a request to this action
'uploadDirectory' => Yii::getPathOfAlias('webroot.uploads'), // The uploaded directory, Basically this is only relevant if you use the Yii::app()->jumploader->uploadFiles() method that serves as a simple uploading method.
'width'=>900, // sets the applet width
'allowedExtensions' => array( 'jpg', 'jpeg', 'gif', 'png' ), // array of allowed extensions to upload (without the prefix dot ( . ) )
'height'=>600, // sets the applet height
'debugMode' => 'DEBUG', // enable debug allowed options are 'INFO', 'DEBUG', 'WARN', 'ERROR', 'FATAL', You can views those logs in the Java console. Defaults to false.
'language' => 'fr', // Set the applet language, Currently there is a limited number of supported languages, Check the 'application/extensions/jumploader/jlassets/messages/ directory for the list of available languages.
'maxFiles' => 5, // Number of maximum allowed files to upload. If the member refreshes the page this will be reset even if he previously uploaded. defaults to '-1' which means unlimited.
'maxFileSize' => '17KB', // string that represents the maximum size of a single file uploaded, Examples: '10MB', '1024KB', '2GB' etc. Defaults to '-1' which means unlimited.
'maxUploadSize' => '33KB', // string that represents the maximum size of total files uploaded, Examples: '10MB', '1024KB', '2GB' etc. Defaults to '-1' which means unlimited.
));
?>

It seems like the $uploadDirectory variable cannot be set in the configuration.I have to dig in the uploadFiles() method in jumploader.php to specify the upload directory in the move_uploaded_file() argument.Weird.Anybody else has experienced that?

Not sure if this is the correct forum to ask, so apologies if this should have been posted elsewhere.

I've been looking into extensions that will enable my users to upload multiple pictures. I've managed to setup this extension pretty straightforward, and it all works beautifully using an upload action that uses Yii::app()->jumploader->uploadFiles(). Now, here is the scenario that I have some trouble with...

All the uploaded files need to be processed after uploading, and each the url of each file associated with a user by recording it in a database. As far as I can tell, it means that if a user uploads 30 pictures, it is similar to 30 times submitting a form with one upload field. Obviously, I don't want to query the database 30 times with individual insert statements.

How would I go about this? I could store an accumulated array of file objects in session and process them once the uploads are done. But is there a way for this extension / Jumploader to signal to the server that it is done? Is there a better way in the first place?

"normally", when you use an uploader to upload multiple files, you'd get an array of uploaded files.
You can use that to perform actions on them, like storing them in the db, etc.
At least that's what the Uploadify Yii extension does IIRC.

"normally", when you use an uploader to upload multiple files, you'd get an array of uploaded files.
You can use that to perform actions on them, like storing them in the db, etc.

That was actually what I was expecting, but as far as I can tell this extension processes them one (POST request) at a time. I'm not ruling out I'm missing something obvious here though, I just haven't found it yet.