Great, so for instances where you need to masonry gallery – create a New SPB Sections => Add New. Add the text, image and gallery there.
Then within your tab page, include the SPB section inside the tab, replacing the original tab content.
It sounds more complex then it is, please see my example: http://test.manoftheworld.nl/collecties/merken/#men-of-all-nations
Thanks.