Nexus 5X data recovery with bad recovery partition
I don't believe flashing a new recovery will wipe your data partition. I would refer to user7610s answer as this seems like a similar issue except that you would like to access the /sdcard to recover your pictures. Best of luck! Edit: This is assuming you already have an unlocked bootloader as you seem to know what fastboot mode is.