Discover image content type

Fixes #11