File upload not working with Image Upload Preview widget