get gallery items from meta