Closed (fixed)
Project:
Imagefield Import
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Dec 2009 at 18:11 UTC
Updated:
30 Dec 2009 at 11:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
David Lesieur commentedWhile Imagefield Import already supports Batch API, the initial form that's created to select images and start the import does too much, making the module unusable for large imports. With large imports, the form either require too much time building itself, require too much memory (as reported above), or is simply unusable (try checking 4600 images for import; the form has a master checkbox for that, but the browser will have a hard time finishing the job).
This patch does the following:
As a bonus, the patch also supports proper file path processing when the FileField Paths module is enabled.
Marking this as needs work because I have not tested all cases yet. I'm also unsure about what to do with the taxonomy during batch imports.
Comment #2
wulff commentedIt seems like we have been working in parallel on this problem.
I have tried to incorporate most of your ideas in the latest dev release.
The current version can now import directories of images which used to result in out of memory errors, and the additional workflow (sans selection form) seems to work as intended with taxonomies and extra cck fields.
I will do some more testing tomorrow.
Comment #3
wulff commentedI have just tested the latest version of the code by importing ~7500 images from a directory tree. Worked without any problems with PHP memory_limit set to 128M.
Thanks for your input!