Hello there,
You can easy fix that when you connect your phone with a computer. Find your photos and make them a backup (for sure). Then you can easy transfer them back to your internal storage or back to sd card (you decide that).
NOTE: In a title i see phone -> in a post i see galaxyTab3... for which one we are talking about ?