change to use a ExternalStorage for save a photo