Restrict file-preview-example.jpg to images.

Also add some logging to the example view.