Try connecting the phone to a computer via USB cord and see if you can view the images from the computer.
You should then be able to open the folder up and then show you the images. Then you can better ascertain if it is the pictures that are the problem, or your app, or even the camera taking the pictures.