There is a folder called “Recently Deleted” in the iPhone's gallery where you find all the deleted images for the next 30 days. After 30 days of deleting the image, it will be permanently gone unless you have a backup.