ArcGIS API for JavaScript: Imagery/RasterDownloadTool (MapServer)

Built using the ArcGIS API for JavaScript