Importing old vb(s) into Discourse

I once wrote an importer for what I think was a similar gallery. I put all of the images into the topic post and included the comments as posts under it.