Simple PHP script to fetch an image and return  it as a base64 encoded json string.

From https://github.com/betamax/getImageData/blob/master/server-examples/getImageData.php