LSP thumbnail support

Auto-thumbnail LSP screenshots so they can be previewed in the file
details screen.

Also change behavior of images to open in the browser, instead of
download to the computer.