Move preview functions to its own module to be reused
Rewritten to use the functions from the new previewcache module
__getattr__ correctly raises AttributeError for non existant attributes
Working implementation. Do not use crc's to store the previews, but rather use the same structure as the originals under the thumbnails
Return and store orientations for each preview. To be used with bgallery
Return and store orientations for each preview. To be used with bgallery
Renamed THUMBDIR to PREVIEWDIR, error checking, create thumbnails out of jpegs as well
New attributes method helps debugging unknown objects
Optimizations: blacklist files for which thumbnails can't be created and try things rather than testing