Thumbnail images

This pull requests includes the thumbnail feature.