adding the title and the image in the grid