Enabling data URI image uploads

Not sure where's best to include tests for this.