Have you considered using the ACF plugin? ACF has a very convenient field type – gallery. I think it would match what you want a 100% without the need to poke around the native/custom DB queries. Check it out.
Have you considered using the ACF plugin? ACF has a very convenient field type – gallery. I think it would match what you want a 100% without the need to poke around the native/custom DB queries. Check it out.