Are you talking about HTC Gallery, or the Google Photos app? Use a file manager app to see if the actual photo files are still in the /DCIM/100Media directory (I think HTC defaults to this directory for saved photos for some reason, not the usual /DCIM/Camera directory).