If you select more than 100 files to upload a javascript alert informs you that more than 100 files is not allowed. Is it possible to change this value or is it embedded within the swfupload flash file? I need to be able to upload 200 or more files at a time.

Thanks

Comments

Coleslaw’s picture

I found a solution.

I edited the following files in image_fupload module directory

image_fupload/image_fupload_imagefield/image_fupload_imagefield.module

Line 82 which reads:
$upload_limit_count = 100; // unlimited

Change the value to a larger number. I changed mine to 200 to suit my needs.

image_fupload/swfupload-settings.tpl.php

Line 21 which reads:
file_queue_limit : "200",

Again, change the value to a larger number.

I don't know if this is a "proper" solution, but it works for me so far.

grandcat’s picture

Status: Active » Closed (won't fix)

It is set to 100 because flash officially supports only that number, otherwise error messages appear in some cases.
So, I won't fix it, but the solution is ok. Don't forget to redo it in case of an update.

dummas_324324_32’s picture

Hi,

I have set the variable to 0
in image_fupload/swfupload-settings.tpl.php

but there is still a limit at 100 files...

whats my mistake??

thanks
mathias