Using the image.beforeUpload event, the images can be inserted as base64 instead of being uploaded to the server.
image.beforeUpload