Buckling and zipping of a magnetic ring under gravity | Synapse