Handle inline images.

Closes #2.