added error handling and loaders for vendor image upload.