generate and use page thumbnails