Added console log of image data to see if it will read it