Before taking out the SD card and if those pictures are still shown in Gallery or via browser, set your storage back to internal memory (phone) and take screenshots from your phone as a way to recover those pictures.
Once you take out the SD card you have lost this option...