Trump disclosed something that he should not have done and wouldn't have done if he had a brain in his head. Not technically leaking is separate from something that did not help the country. It was a stupid action - of course not your point.
Are you suggesting it was ok for this pic to be released, and why?
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.