image: implements insertImage, todo: server upload