I have a beta version of imagepicker with bulk imports available for the administrator of a Drupal 6 install.
It does *not* do bulk uploads, that's a very different thing.
It requires a folder which can be created beforehand, anywhere with write permissions for apache or all. The path can be absolute (with leading slash) or relative to the Drupal root (without leading slash).
It uses the D6 batch facility so should not timeout on large sets.
The folder could be
sites/all/import
sites/default/import
sites/default/files/import
/home/username/import
Enable it under admin/settings/imagepicker General (right at the bottom)
You may need to flush the cache for the import tab to appear.
It's up to admin who will need either FTP or shell access to get the files to be imported in place with read/write for all.
The imported files can be automatically deleted after successful import. Group membership can be set en masse, so can watermarks and scaling.
I have tried it with about 200 files in one go, worked perfectly, batch works! Does it in lots of 5
Each file is tested for image validity and will be excluded from the import list if found wanting.
There is a user search form which finds anyone with at least one image already uploaded, in other words who has an imagepicker presence in files/imagepicker/*
once the import path and user have been established the import form will show, set it up to your liking and hit the import button and all the files will be imported into imagepicker in the same way as a single upload.
The tarball can be downloaded from Here
If anyone decides to give it a whirl on a test/dev site, please report back.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | imagepicker.import.patch | 929 bytes | hutch |
Comments
Comment #1
hutch commentedBulk Imports is now in dev along with copy image
Comment #2
BettyJJ commentedWhile I tried to import, I got this error message: Call-time pass-by reference deprecated
Comment #3
hutch commentedThis is probably a PHP 5.3 notice
I cannot test this myself so could you please try the attached patch on imagepicker.import.inc
Comment #4
hutch commentedComment #5
hutch commented