Thread:Andrey Andrey/@comment-27345308-20170125204701/@comment-27345308-20170126103944

Oh, that. Hm. It's possible, but it would require much more JS than Lua, as Lua can modify the DOM only during the parsing time. With JS, you could store information about additional images in some invisible parts of the DOM and then add them to the gallery when somebody clicks the button.