add getter for image data