I found it best to delete or throw away all photos of them. I found myself when very young hanging on and looking at photos of them. Things that reminded me of them. Some connections. Then I realized I was trying to hold onto a past that was just THAT: PAST AND GONE. Deleting and getting rid of that part of my life helped erase them from my memory. Objects hold memories or images we project on them.
For many years I saved a few photos of my ex-wife. I saved them to prove I WAS married. In the past couple of years I have deleted ALL images of that monstrous thing. I cut her out of photos and it worked well. As long as she was on one side. Narrower photos that way. Wedding photos? No need to remember because it brought painful vague memories of that time. I found it best for me to find something from THAT time that was a positive experience person or thing to focus on. Such as the dog I had. I saved many photos of him. There is a good thing and bad thing about aging: At times I want to remember some old loves and even wish I had saved the sex scenes in mind better. But remembering that is like watching 2 strangers being intimate. I am not that same person and whoever they were, they are not, now.
The only thing I saved from my marriage was a statue of a Buddha my ex-wife gave me for a birthday. It was the only good that came of it and very symbolic as well. I do not remember HER when I see it. I see the Buddha. That is all. That is another lesson. Save things from the knowing of people that are good on their own without being a faint reflection of someone we once knew. That is the only reason I now save any photos of anyone. There is a good feeling from them. ONLY.