Add image preview #70

@FND though you probably don't like #70, could you review the JS? Thanks :)
inconsistent use of quote (single quotes are only used when embedding double quotes)