changed the drag and drop image upload, closes #108