Hi, I’m Louie. Sorry you had to wait awhile but I’ll do my best to help.Initially and if the photos were saved in the SD card, then recovery canhopefully be attempted.
Preferably, remove the Samsung Galaxy 6's SD card and mount it into a suitable memory card reader connected by USB to a computer. Thereafter, download, install and run a compatible recovery program/utility. Please click HERE for a Windows version while HERE for the Mac among others.