How to delete the images from the gallery?