fixes #10

Adds thumbnail previews for the site admin.
Files are only created if needed to reduce IO.