Simple local storage image gallery with delete button

Hello, I need to create a simple gallery, from images stored on OTG connected device, with the ability to delete selected images. At first i thought it would be very simple, but I’m struggling to get any results. Can somebody pls guide me how should it be done?