gallerize in build method instead of site