Create a CG viewer gallery in RPGMAKER MV

Have you ever attempted to add a gallery viewer for 'CG' scenes? I want to make a gallery viewer for my own project.
I have the title command customizer SRD plugin. I added the command order, but when it comes to the command data, I don't know what to write for it because I don't understand JavaScript. Or is there simpler way to achieve the CG viewer with more simple Eventing.

commands.jpg
Explain what a "gallery viewer for CG scenes" is. What are you viewing? If it's just a series of pictures, you can do that with a common event and Show Picture commands, letting the player press left/right buttons to move through them and space/enter/escape to close.

If it's something more complicated, where you want a dedicated scene, things shown in certain places, a menu or some type of hud, you'll need a plugin.
Like having a room where the player can choose to see the CG scenes/image sets for a scene. But with certains conditions like 'losing to 'x' enemy' then you unlock the scene, but if you lose, you don't have to start over completely the game.
Explain what a "gallery viewer for CG scenes" is. What are you viewing? If it's just a series of pictures, you can do that with a common event and Show Picture commands, letting the player press left/right buttons to move through them and space/enter/escape to close.

If it's something more complicated, where you want a dedicated scene, things shown in certain places, a menu or some type of hud, you'll need a plugin.
if you have multiple images and saves, the only thing I can say is,
create a map from a common event (I have that function in my TF),
but there are more to have one probably.

than in the common event, you can create conditions:

if: Switch X = ON,
show pic1
end
if Switch Y = ON
show pic 2
end

and down the road for the amount of images.

use Olivia_MetaControls and create global switches (not meta).
in your actual game, you can turn on the switch on x enemies defeated.

if: enemy X = 10 (through variable or otherwise)
Switch X = ON
end

if you have a bunch, you can view it on the main menu.

Original thread: https://forums.rpgmakerweb.com/threads/create-a-cg-viewer-gallery-in-rpgmaker-mv.142910/