Share your experience!
Where were you saving the pictures? Internal storage or an SD card? it seems to me that if you were using an SD card it got corrupted.
This is a suggestion, connect your phone to a computer > access your computer > Xperia Z2 > internal storage/SD card > DCIM > 100Andro, the pictures and or videos should be there.