getId() == 0 ) { $data["id"] = $id; sendResponse(FAILED, "Image Not Found"); } $data["image"] = $image; sendResponse();