-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
addDir should be removed because it's impossible to correlate the created image ID's with the original image file.
addDir recurses a directory tree and adds each image it finds to the image DB with a newly generated image ID. However it does not return a list of image path/ID pairs, nor is the original image path stored in the image DB. Hence there is no way to know which image ID corresponds to which image file on disk. Hence addDir is useless and should be removed.
A better solution might be to add the original path to the image file to the record in the image DB and make that query-able. Seems like that would be a nice feature anyway. Without it, the user is left to keep some sort of record of what the image IDs correspond to.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels