how to recover deleted images

Solution
There are several undelete apps in the Google Play store, but I have not tried any of them. You can also install Recuva in a computer and run that to scan the SD card with a card reader.