generage thumbnails from original pictures