So, I thought I'd share this in case anyone finds it useful :-)
These two classes add icon previews and exif rotation to the icons
displayed in the FileChooserIconView. The icon implementation does
perhaps touch a little too deeply on the current icon implementation,
but the main goal was to make it simply an add-on the the current
FileChooserIconView. It really is dead easy to use: just instantiate it
with the FileChooseIconView as a parameter and done.
FileChooserThumbnail(fc)
One of the main issues here was making it work for large folders with
many images. As the image caches the whole texture of the source, we use
the Clock to write the reduced image to the temp folder and load it
from there. This caching also helps makes re-visited folders very quick
to display.
The exif rotation works by using PIL to examine the metadata and pops a
matrix onto the image if required, so it can essentially be used for any Image
class.
Anyway, hope it helps. Run the below command for a sample.
python filechooserthumbnail.py
Peace