thumbnail generation in build_archive