The most reproduced photo of the 20th century is https://en.wikipedia.org/wiki/V-J_Day_in_Times_Square. It raises multiple issues of consent. The photographer didn't know who was being photographed. The woman didn't consent to the kiss, and didn't realized she had been photographed until many years later. Under current law, it was a sexual assault. Indeed in another frame on the same camera, she was fighting back.
But it gets better. A man who claimed to have been the kisser later sued for a share of the proceeds. (George Mendonsa dropped the suit later citing costs.)
And there we have it. One of the most iconic photos of all time has lack of consent written all over it. And yet, I'm very glad that the photographer took the picture.