Add image preview #70

@FND though you probably don't like #70, could you review the JS? Thanks :)
Hm, it's a different context and should therefore be a different commit message. You're right!