Editor image upload extracted to upload factory class.