adding the image to the table