return a response with the image data
actually return the formatted data
unused imports