Do you mean taking thumbnails from hard disk?
I mean one should be able to
create thumbs on the fly (as it is)
OR load them from a directory (tree)
OR provide their data in another way (e.g. from a database BLOB).
Only a suggestion.
Greetlings, HR