Log the image response for debugging.