Welcome to Android Central! Using Total Commander, look in the directories with the photos--is there a file called ".nomedia" there? If so, delete it.
Also, go to the App Manager, select Gallery, and Clear Cache/Clear Data, then Force Stop. Now open it again, wait a few seconds for the database to repopulate, and see if the photos reappear.