Crime, as in violation of some statute? Probably not.
It is, however, extremely stupid. “Felony” stupid. The kind of stupid that should hurt.
In the age of film, photographs could be dangerous things. If nothing else, the Fotomat guy saw your prints.
In this age of digital media and the internet, racy photos are toxic and radioactive. ANY picture you take may very well end up on the front page of the Washington Post. THINK, folks. Use your brains. Apply the principles of “Operations Security” to your personal, daily lives.
I agree it was a stupid thing to do. But I guess he had a moment of weakness.