Welcome to Android Central! What do you mean that the phone was hacked? Are you unable to get past your lockscreen? If you can't, then it'll be difficult to salvage your photos and documents. Are you sure you weren't backing up the photos somewhere automatically, like with Google Photos? Go to photos.google.com on your computer browser and see if the photos are there.
The SD Card fits in the slot on the side of the phone where the SIM card is located, you need a paper clip or the SIM removal tool that came with the phone to eject the tray.