The Gallery on the Xiaomi smartphone requires access to the sd card to store or delete images on it. Giving access is a bit cumbersome to explain. This tutorial shows how to allow Gallery to access the memory card.

Android 10 | MIUI 11.0
Step 1:  Open the  Gallery
Step 2:  Tap on  Next
Step 3:  Tap on  Give permissions
Step 4:  Open the  menu
Step 5:  Tap on  SD card
Step 6:  Tap on  Allow Access to SD card
Step 7:  Confirm with  Allow
  1. Open the Gallery
  2. Tap on Next
  3. Tap on Give permissions
  4. Open the menu
  5. Tap on SD card
  6. Tap on Allow Access to SD card
  7. Confirm with Allow

Xiaomi Instructions