add functions to return the image and zipped data path