Added documentation to downloadImageData.php