every time the script stops to upload after 20 pictures, without giving any explanation (I suppose it’s a timeout for script running from the server)
there is a way to avoid that?
It does sound like you’re running into a server limitation.
You’ve got two main options:
1) Import less files at a time
2) Change the server timeouts & memory limits to a higher limit.
Unfortunately there’s nothing that can be (or will be) added to the plugin to avoid those situations.
Unless you really have no choice, using the Media Uploader is a far better choice in most cases.
thanks,
since the Media uploader doesn’t make me choose file from ftp i’m still forced to use side script like your.
..i’m wondering why other scripts (Gmedia gallery as an example) work to import a long list of files on the same server while this doesn’t..
I cannot change server limits since the website it’s remotely hosted
thanks for answering to my doubts!
Fabio
It’d be possible to change the plugin to queue things up and do it through individual ajax requests or similar, however that’s simply not something I’m interested in supporting with the plugin.
My suggestion is always to use the media uploader, and/or configure the server to allow larger uploads. Using FTP and then another plugin to import files is not a good user experience and that’s why I discourage it’s use (and why I don’t intend on adding extra features)