The problem here is the picture was originally shared with someone who had permission to see it. That person then saved the file to their machine, and re-posted it to twitter.
The person who did all this was not supposed to see the original picture. The whole thing happened because of sharing, tagging and mutual friends. It is a technological problem.
That is not a technological problem.