Protocol restrictions affect images too.

Fixes #144