removed the loop from the partial, because passing the pictures variable through collections handles it