Insert all images from a folder to table

I am running Onlyoffice (7.2.1.36) in Manjaro. I would like to populate a table in a Document with all images from a specified folder, with every image inserted on a new table row. I am guessing that I would need a macro to achieve this and have had a look at the API docs but have no idea how to start this.

Is this a solved problem already? If so can somebody point me in the right direction.

Thank you in advance

Hello @futurefool
Unfortunately, we don’t have ready-to-go solution for this request. But I believe you can start your research from this example: ONLYOFFICE Api Documentation - ApiImage
There’s a way to add image by url, probably it will be useful.