A callback that accepts an image.
Called if an error occurs while executing the request.
Called when the request starts.
Called if the request completes successfully.