initial work towards storing thumbnails
Merge pull request #852 from ischneider/thumbnails

initial work towards storing thumbnails