generate thumbnails (but still broken)