I was just joking.
Yeah, OP, there are lots of ways to center a photo or anything really inside a container. As long as you’ll ALWAYS know the size. For theme development, it gets more tricky because you have no idea what someone will upload. That’s where flexbox is pretty handy.
At any rate, what framework/grid system is this? It does not look like you wrote it.