I can see from the ImageGalleryItem table that all ImageGalleryItems are still there with the text I gave them for descriptions but they somehow have ImageIDs which are pointed to the wrong non-existent files now. Has anyone else had this problem. It is strange cause I go into the image gallery and there are twelve images like there used to be in the same order and the same description but they all point to non existent files. When I go to the File table I can see the files are still there but the file IDs must be the original ones as when you go back to the imagegalleryitem table the corresponding image has an imageID of a higher value that doesn't exist in the file table. I hope this makes sense to someone as to either a recognizable bug or some module or update which has caused the two tables to get out of alignment.
It doesn't really matter right now as I don't have that many images but it is obviously scary for the future as if a client uses the image gallery a fair amount and has a substantial number of images then loses the links all his or her work will be wasted. Looking forward to hearing other peoples experience with this matter.