Have you try instead of
id: theParams.id using
id: 1 I had a big problem trying to handle variables that were not correct json.
In the other hand I am doing a similar code but do not have
Have you try in your php file
echo json_encode(array("imgUrl" => 'image.jpg', "id" => '1')); Depending on those tests maybe I could help you more