Constraining spherically symmetric metrics by the gap between photon rings | Synapse