Recover photos that got deleted when device switched off?
You can connect your device to PC/Laptop whatever you have and use one of the data recovery tool like recuva*, easeus, etc. So, download easeus on your PC and connect your phone then select your device to scan for picture or videos or whatever you like. Good thing is that you don't need the rooted device to do that.
*Recuva cannot act on an Android device's storage, if device has been set to MTP. But if your files were on MicroSD cards you can use recuva to scan them.(thanks to  Death Mask Salesman)