Modifying image columns via JavaScript

Hello everyone, I am currently working on a JavaScript that modifies a column of type image: the goal is to display images that are available on another web server in a table. My idea (from looking at how image columns are represented in JavaScript) was to use base.modifyRow and insert URLs of the images I want, like

base.modifyRow(table, row, {'image_row_name': ['']});

Is this the correct way to do it? Or does seatable require the images to be hosted with seatable?

I can confirm this works just like that.