A few things to try. Change the camera storage from SD to internal, and see if it helps.
You might need check the Camera permissions, sometimes Android doesn't give the permissions.
I've also read that the features Smart Stay (found in display and wallpaper settings) can cause camera issues.
Run some sort of cleaning app, to delete the thumbnail cache.
Not sure if any one of those will work, but just giving some ideas.