Added an admin method to generate document thumbnails.