The president doesn't leak per se. He's the ultimate authority on classification, therefore by releasing top secret material he has declassified it.
Second, there is also value to letting your adversaries know what you are capable of. Just think of the hassle of hiding activities from a satellite like that - surely it takes a huge operational toll.
No matter what, it sounds to me like releasing the picture is within the presidential oversight. He was not naming spies or anything.
Are you suggesting it was ok for this pic to be released, and why?