How are you going through your photos with the Windows XP Picture and Fax viewer?
Are your image files, (photos), held in your My Pictures folder, or are you exploring some other folder?
Such unwanted images as you describe would appear to be what is available on the internet through your web browser, and if so, they are called "Temporary Internet Files". These are store in a special folder in XP, but not generally in My Pictures.
If you are using Internet Explorer to browser the internet, you can empty the "TIF" folder through IE's Tools > Options.
I have windows XP photo and fax viewer. When going through the photos, I find pornographic pictures and other photos that seem to have been picked up from places like Facebook, or online newspaper. I am not sure how these photos show up and then i am not able to get rid of them. I will delete them but the next day they may show up again randomly. Does anyone know why this happens and how to solve the provlem? thanks