Answer
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
1- We are not accountable for the sins we have committed in the past, once we have repented and changed our life around for better.
2- You should ask the relatives and friends who may have such photos not to display them in public or to strangers who are not your close blood relations.
In responding to your question, Sheikh Ahmad Kutty, a senior lecturer and an Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states:
I commend you for your zeal to follow Islam to the best of your ability. I pray to Allah to grant you steadfastness and sincerity in all of your good deeds.
Allah tells us in the Quran, {Allah does not burden any soul more than it can bear.} (Al-Baqarah 2:286)
Moreover, we are not accountable for the sins we have committed in the past, once we have repented and changed our life around for better.
So, the fact that you retreat what you did in the past and feels sorry for it, and is determined not to repeat the same mistakes, is a sign of sincere repentance. Hence, you are not accountable for past sins.
Having said this, I would urge you to advise the relatives and friends who may have such pictures not to display them in public or to strangers who are not your close blood relations.
Almighty Allah knows best.
Source: www.askthescholar.com