got the images to display in the grid