Gatherer API
There are no official APIs that I am aware of, although there are a few unofficial ones that emulate such. (Simply google “Gatherer API” to find a few already prepared options). As Jordan suggested, images will need to come directly from Gatherer itself due to the more… aggressive legal stance toward any outside hosting, but it would be trivial to generate a simple file that could parse through each card's HTML page, grab the image URL, and simply link to the direct gatherer resource (there's likely an easier way or format in each image's URL that would make this very easy). There are no guarantees, however, that this won't be treated identically as any other image resource.