Space probes, motion, and photography

After seeing some of the pictures New Horizons has sent back from Pluto, I got to wondering. How do you take a sharp picture at high magnification from a space probe traveling at high speeds?

According to an article I just read:

I’m assuming that in the environ’s of Pluto, exposure times would have to be fairly long. At long distances, the motion blur might not matter, but when the probe nears the planet, does the camera have to track the planet?

7750 miles is still very far. Flying by a planet 7750 miles away at 31,000 mph is like driving by a landmark 7.75 miles away at 31 mph.