Re: [basedb-devel] Batch scan importer

2009-03-12 Thread Nicklas Nordborg
Thanks for the code. I am not sure that I like that it creates a new image every time. I think it should at least check if there is already an image with the specified file. Is there a need for setting the other image properties (preview, format, description)? If so, it might be better to have

Re: [basedb-devel] Batch scan importer

2009-03-12 Thread Pawel Sztromwasser
I am not sure, I didn't consider image as a 'real type' of item. More like attribute of a scan. Maybe because there is no Image submenu:) I agree that looking for already created images with specific file is much better idea, then what I have implemented. Allowing users to specify image

Re: [basedb-devel] Batch scan importer

2009-03-12 Thread Nicklas Nordborg
Pawel Sztromwasser wrote: Mainly because image has no life on its own and also because there is actually no image list where one could run batch import. OK, there is a list of images for every scan, but image imports for each and every scan would be laborious. Ahh... yes, I didn't think of

Re: [basedb-devel] Batch scan importer

2009-03-11 Thread Pawel Sztromwasser
I have just noticed that the filename I sent has different name then the class inside. I used ScanImporterNMC name to distinguish from the original plugin and then renamed the file before sending. Just rename it back and all will work. Pawel Pawel Sztromwasser wrote: Hello BASE team, We